Adopt latest monaco-editor-core

This commit is contained in:
Alex Dima 2021-05-12 17:46:52 +02:00
parent 8989f44eb5
commit 90417ad4ff
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
3 changed files with 14 additions and 5 deletions

View file

@ -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'],