46
47 router.use(function (req, res) {
48▶ throw new Error('should not be called')
49 });
50
· · ·
56
57 router.use(function (req, res) {
58▶ throw new Error('should not be called')
59 })
60
· · ·
68 var use = false
69
70▶ route.post(function (req, res, next) { next(new Error('should not run')) })
71 route.all(function (req, res, next) {
72 all = true
· · ·
73 next()
74 })
75▶ route.get(function (req, res, next) { next(new Error('should not run')) })
76
77 router.get('/foo', function (req, res, next) { next(new Error('should not run')) })
· · ·
77▶ router.get('/foo', function (req, res, next) { next(new Error('should not run')) })
78 router.use(function (req, res, next) {
79 use = true
+ 13 more matches in this file