Don't spy on getGlobal

This commit is contained in:
Steve Gravrock
2025-10-19 09:58:52 -07:00
parent 4201fd848f
commit 020dffd504
4 changed files with 24 additions and 38 deletions

View File

@@ -1226,7 +1226,7 @@ getJasmineRequireObj().Env = function(j$) {
);
const globalErrors = new GlobalErrors(
undefined,
global,
// Configuration is late-bound because GlobalErrors needs to be constructed
// before it's set to detect load-time errors in browsers
() => this.configuration()