Uninstall the global error at the end of env execution
jasmine-npm needs this so that it can do its own error handling during globalTeardown.
This commit is contained in:
@@ -1676,7 +1676,9 @@ getJasmineRequireObj().Env = function(j$) {
|
||||
validateConfigForParallel();
|
||||
}
|
||||
|
||||
return runner.execute(runablesToRun);
|
||||
const result = await runner.execute(runablesToRun);
|
||||
this.cleanup_();
|
||||
return result;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -541,7 +541,9 @@ getJasmineRequireObj().Env = function(j$) {
|
||||
validateConfigForParallel();
|
||||
}
|
||||
|
||||
return runner.execute(runablesToRun);
|
||||
const result = await runner.execute(runablesToRun);
|
||||
this.cleanup_();
|
||||
return result;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user