Skip to content

Commit

Permalink
tests: mark stack overflow as long running
Browse files Browse the repository at this point in the history
closes #4887
  • Loading branch information
grisu48 authored and dougwilson committed Apr 20, 2022
1 parent 708ac4c commit fd8e45c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/Router.js
Expand Up @@ -62,6 +62,8 @@ describe('Router', function(){
})

it('should not stack overflow with many registered routes', function(done){
this.timeout(5000) // long-running test

var handler = function(req, res){ res.end(new Error('wrong handler')) };
var router = new Router();

Expand Down

0 comments on commit fd8e45c

Please sign in to comment.