mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
Adopt latest monaco-editor-core
This commit is contained in:
parent
8989f44eb5
commit
90417ad4ff
3 changed files with 14 additions and 5 deletions
11
test/all.js
11
test/all.js
|
|
@ -21,7 +21,16 @@ global.self = global;
|
|||
global.document.queryCommandSupported = function () {
|
||||
return false;
|
||||
};
|
||||
global.window = { location: {}, navigator: tmp.window.navigator };
|
||||
global.window = {
|
||||
location: {},
|
||||
navigator: tmp.window.navigator,
|
||||
matchMedia: function () {
|
||||
return {
|
||||
matches: false,
|
||||
addListener: function () {}
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
requirejs(
|
||||
['./test/setup'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue