1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
=== tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509534.ts ===
"use strict";
var config = require("../config");
>config : Symbol(config, Decl(parser509534.ts, 1, 3))
module.exports.route = function (server) {
>server : Symbol(server, Decl(parser509534.ts, 2, 33))
// General Login Page
server.get(config.env.siteRoot + "/auth/login", function (req, res, next) {
>server : Symbol(server, Decl(parser509534.ts, 2, 33))
>config : Symbol(config, Decl(parser509534.ts, 1, 3))
>req : Symbol(req, Decl(parser509534.ts, 5, 59))
>res : Symbol(res, Decl(parser509534.ts, 5, 63))
>next : Symbol(next, Decl(parser509534.ts, 5, 68))
// TODO Should render login page that shows auth options
req.redirect("/auth/live");
>req : Symbol(req, Decl(parser509534.ts, 5, 59))
});
}
|