Adopt latest monaco-editor-core

This commit is contained in:
Alex Dima 2019-09-19 09:54:00 +02:00
parent f67f33d8bb
commit 39e73742b4
3 changed files with 8 additions and 7 deletions

View file

@ -15,9 +15,10 @@ let tmp = new jsdom.JSDOM('<!DOCTYPE html><html><body></body></html>');
global.document = tmp.window.document;
global.navigator = tmp.window.navigator;
global.self = global;
global.document.queryCommandSupported = function() { return false; };
global.document.queryCommandSupported = function () { return false; };
global.window = { location: {} };
requirejs(['./test/setup'], function() {
}, function(err) {
requirejs(['./test/setup'], function () {
}, function (err) {
console.log(err);
});