lint: remove unused function arguments in Route tests

closes #5137
This commit is contained in:
Rakesh Bisht
2023-03-04 13:48:00 +05:30
committed by Douglas Christopher Wilson
parent f540c3b019
commit 3531987844

View File

@@ -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!');
})
@@ -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');
});
@@ -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!');
});