Skip everything except afterAll fns when a beforeAll fn errors
* Fixes #1533
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
getJasmineRequireObj().NeverSkipPolicy = function(j$) {
|
||||
function NeverSkipPolicy(queueableFns, firstCleanupIx) {}
|
||||
|
||||
NeverSkipPolicy.prototype.skipTo = function(lastRanFnIx, errored) {
|
||||
NeverSkipPolicy.prototype.skipTo = function(lastRanFnIx) {
|
||||
return lastRanFnIx + 1;
|
||||
};
|
||||
|
||||
NeverSkipPolicy.prototype.fnErrored = function(fnIx) {};
|
||||
|
||||
return NeverSkipPolicy;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user