Skip to content

Commit a953e0e

Browse files
committed
Removed next calls (linter reported no-undef errors)
1 parent e725b63 commit a953e0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ describe('Underdog', () => {
486486
srv.stop(done);
487487
});
488488

489-
request.on('push', () => next(new Error('Should not make it here')));
489+
request.on('push', () => new Error('Should not make it here'));
490490
});
491491
});
492492

@@ -531,7 +531,7 @@ describe('Underdog', () => {
531531
srv.stop(done);
532532
});
533533

534-
request.on('push', () => next(new Error('Should not make it here')));
534+
request.on('push', () => new Error('Should not make it here'));
535535
});
536536
});
537537

0 commit comments

Comments
 (0)