Skip to content

Commit

Permalink
lint: remove unused function arguments in Route tests
Browse files Browse the repository at this point in the history
closes #5137
  • Loading branch information
raksbisht authored and dougwilson committed May 16, 2023
1 parent f540c3b commit 3531987
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/Route.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ describe('Route', function(){
var req = { method: 'POST', url: '/' };
var route = new Route('');

route.get(function(req, res, next) {
route.get(function () {
throw new Error('not me!');
})

Expand Down Expand Up @@ -198,7 +198,7 @@ describe('Route', function(){
var req = { order: '', method: 'GET', url: '/' };
var route = new Route('');

route.all(function(req, res, next){
route.all(function () {
throw new Error('foobar');
});

Expand All @@ -224,7 +224,7 @@ describe('Route', function(){
var req = { method: 'GET', url: '/' };
var route = new Route('');

route.get(function(req, res, next){
route.get(function () {
throw new Error('boom!');
});

Expand Down

0 comments on commit 3531987

Please sign in to comment.