mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 10:25:42 +01:00
Defines setInterval/setTimeout on faked globalThis in unit test
This commit is contained in:
parent
b31d22b9ee
commit
f262e8f931
3 changed files with 11 additions and 9 deletions
|
|
@ -35,7 +35,9 @@ global.window = {
|
|||
matches: false,
|
||||
addEventListener: function () {}
|
||||
};
|
||||
}
|
||||
},
|
||||
setInterval: function () {},
|
||||
setTimeout: function () {}
|
||||
};
|
||||
|
||||
requirejs(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue