We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f540c3b commit 3531987Copy full SHA for 3531987
test/Route.js
@@ -124,7 +124,7 @@ describe('Route', function(){
124
var req = { method: 'POST', url: '/' };
125
var route = new Route('');
126
127
- route.get(function(req, res, next) {
+ route.get(function () {
128
throw new Error('not me!');
129
})
130
@@ -198,7 +198,7 @@ describe('Route', function(){
198
var req = { order: '', method: 'GET', url: '/' };
199
200
201
- route.all(function(req, res, next){
+ route.all(function () {
202
throw new Error('foobar');
203
});
204
@@ -224,7 +224,7 @@ describe('Route', function(){
224
var req = { method: 'GET', url: '/' };
225
226
227
- route.get(function(req, res, next){
228
throw new Error('boom!');
229
230
0 commit comments