Skip to afterEach fns when a beforeEach fn errors

* #1533
This commit is contained in:
Steve Gravrock
2021-09-29 12:35:00 -07:00
parent a1f14efac6
commit 457a2727ba
3 changed files with 8 additions and 12 deletions

View File

@@ -504,7 +504,7 @@ getJasmineRequireObj().Env = function(j$) {
var queueRunnerFactory = function(options, args) {
var failFast = false;
if (options.isLeaf) {
failFast = config.stopSpecOnExpectationFailure;
failFast = true;
} else if (!options.isReporter) {
failFast = config.stopOnSpecFailure;
}