Skip to content

Commit

Permalink
Removed next calls (linter reported no-undef errors)
Browse files Browse the repository at this point in the history
  • Loading branch information
zemccartney committed Nov 9, 2017
1 parent e725b63 commit a953e0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ describe('Underdog', () => {
srv.stop(done);
});

request.on('push', () => next(new Error('Should not make it here')));
request.on('push', () => new Error('Should not make it here'));
});
});

Expand Down Expand Up @@ -531,7 +531,7 @@ describe('Underdog', () => {
srv.stop(done);
});

request.on('push', () => next(new Error('Should not make it here')));
request.on('push', () => new Error('Should not make it here'));
});
});

Expand Down

0 comments on commit a953e0e

Please sign in to comment.