Run afterAll fns after failure even if stopOnSpecFailure is true
[#160905297]
This commit is contained in:
@@ -23,6 +23,12 @@ getJasmineRequireObj().CompleteOnFirstErrorSkipPolicy = function(j$) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// firstCleanupIx_ isn't correct for suites with afterAll functions.
|
||||
// Rely on the type for those.
|
||||
if (this.queueableFns_[fnIx].type === 'afterAll') {
|
||||
return false;
|
||||
}
|
||||
|
||||
const candidateSuite = this.queueableFns_[fnIx].suite;
|
||||
const errorSuite = this.queueableFns_[this.erroredFnIx_].suite;
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user