Commit 72fabd1 1 parent 61f90b0 commit 72fabd1 Copy full SHA for 72fabd1
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ import { MockResizeObserver } from './resize-observer';
25
25
import { MockShadowRoot } from './shadow-root' ;
26
26
import { MockStorage } from './storage' ;
27
27
28
- const nativeClearInterval = clearInterval ;
29
- const nativeClearTimeout = clearTimeout ;
30
- const nativeSetInterval = setInterval ;
31
- const nativeSetTimeout = setTimeout ;
32
- const nativeURL = URL ;
28
+ const nativeClearInterval = globalThis . clearInterval ;
29
+ const nativeClearTimeout = globalThis . clearTimeout ;
30
+ const nativeSetInterval = globalThis . setInterval ;
31
+ const nativeSetTimeout = globalThis . setTimeout ;
32
+ const nativeURL = globalThis . URL ;
33
33
const nativeWindow = globalThis . window ;
34
34
35
35
export class MockWindow {
You can’t perform that action at this time.
0 commit comments