From 375db6bd47c11ff074ed373a177b3e8673a3d6c5 Mon Sep 17 00:00:00 2001 From: juergba Date: Thu, 4 Apr 2019 09:53:24 +0200 Subject: [PATCH] runner.js: run "after each" hooks --- lib/runner.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/runner.js b/lib/runner.js index 1b1d875a80..34d38b2e10 100644 --- a/lib/runner.js +++ b/lib/runner.js @@ -674,10 +674,6 @@ Runner.prototype.runTests = function(suite, fn) { } self.emit(constants.EVENT_TEST_END, test); - if (err instanceof Pending) { - return next(); - } - return self.hookUp(HOOK_TYPE_AFTER_EACH, next); }