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:
Steve Gravrock
2023-03-11 17:45:31 -08:00
parent 61505f4c59
commit 04fac300e8
2 changed files with 6 additions and 2 deletions

View File

@@ -1676,7 +1676,9 @@ getJasmineRequireObj().Env = function(j$) {
validateConfigForParallel();
}
return runner.execute(runablesToRun);
const result = await runner.execute(runablesToRun);
this.cleanup_();
return result;
};
/**

View File

@@ -541,7 +541,9 @@ getJasmineRequireObj().Env = function(j$) {
validateConfigForParallel();
}
return runner.execute(runablesToRun);
const result = await runner.execute(runablesToRun);
this.cleanup_();
return result;
};
/**