From a7452d0d59edd258b232c031b7f3fae1bfdf6371 Mon Sep 17 00:00:00 2001 From: juergba Date: Fri, 20 Sep 2019 08:41:37 +0200 Subject: [PATCH] abort runner instead of end event --- lib/runner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/runner.js b/lib/runner.js index d8d8dd6fb8..e4bb329af3 100644 --- a/lib/runner.js +++ b/lib/runner.js @@ -860,7 +860,7 @@ Runner.prototype.uncaught = function(err) { } // bail - this.emit(constants.EVENT_RUN_END); + this.abort(); }; /**