Skip to content

Commit e061635

Browse files
committed
this should work
1 parent 3c40112 commit e061635

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/browser/vscode.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ describe("vscode", () => {
191191
}
192192
const errorMsgPrefix = "[vscode]"
193193
const errorMessage = `${errorMsgPrefix} Could not get loader. window is undefined or missing.`
194-
/* eslint-disable no-global-assign */
195-
window = undefined as unknown as Window & typeof globalThis
194+
// eslint-disable-next-line no-global-assign
195+
global.window = undefined as unknown as Window & typeof globalThis
196196
expect(() => {
197197
if (typeof window === "undefined") {
198198
throw new Error(errorMessage)

0 commit comments

Comments
 (0)