Skip to content

Commit

Permalink
bail suite instead of end event
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba committed Sep 20, 2019
1 parent 6ec07d6 commit 7091237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ Runner.prototype.uncaught = function(err) {
}

// bail
this.emit(constants.EVENT_RUN_END);
this.suite.bail(true);
};

/**
Expand Down

0 comments on commit 7091237

Please sign in to comment.