Skip to content

Commit

Permalink
runner.js: run "after each" hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba committed Aug 11, 2019
1 parent 6d7c32a commit c4731ab
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -673,11 +673,6 @@ Runner.prototype.runTests = function(suite, fn) {
self.fail(test, err);
}
self.emit(constants.EVENT_TEST_END, test);

if (err instanceof Pending) {
return next();
}

return self.hookUp(HOOK_TYPE_AFTER_EACH, next);
}

Expand Down

0 comments on commit c4731ab

Please sign in to comment.