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 22, 2019
1 parent eed38d7 commit 99ad02b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runner.js
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 99ad02b

Please sign in to comment.