diff --git a/lib/runner.js b/lib/runner.js index 3ef0da1f4d..7038162b9b 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.suite.bail(true); }; /**