1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
=== tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509534.ts ===
"use strict";
>"use strict" : "use strict"
var config = require("../config");
>config : any
>require("../config") : any
>require : any
>"../config" : "../config"
module.exports.route = function (server) {
>module.exports.route = function (server) { // General Login Page server.get(config.env.siteRoot + "/auth/login", function (req, res, next) { // TODO Should render login page that shows auth options req.redirect("/auth/live"); });} : (server: any) => void
>module.exports.route : any
>module.exports : any
>module : any
>exports : any
>route : any
>function (server) { // General Login Page server.get(config.env.siteRoot + "/auth/login", function (req, res, next) { // TODO Should render login page that shows auth options req.redirect("/auth/live"); });} : (server: any) => void
>server : any
// General Login Page
server.get(config.env.siteRoot + "/auth/login", function (req, res, next) {
>server.get(config.env.siteRoot + "/auth/login", function (req, res, next) { // TODO Should render login page that shows auth options req.redirect("/auth/live"); }) : any
>server.get : any
>server : any
>get : any
>config.env.siteRoot + "/auth/login" : string
>config.env.siteRoot : any
>config.env : any
>config : any
>env : any
>siteRoot : any
>"/auth/login" : "/auth/login"
>function (req, res, next) { // TODO Should render login page that shows auth options req.redirect("/auth/live"); } : (req: any, res: any, next: any) => void
>req : any
>res : any
>next : any
// TODO Should render login page that shows auth options
req.redirect("/auth/live");
>req.redirect("/auth/live") : any
>req.redirect : any
>req : any
>redirect : any
>"/auth/live" : "/auth/live"
});
}
|