Restore basic-languages unit tests

This commit is contained in:
Alex Dima 2021-11-13 20:37:28 +01:00
parent 0f7286cf55
commit 219b9b25eb
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
3 changed files with 8 additions and 10 deletions

25
test/unit/setup.js Normal file
View file

@ -0,0 +1,25 @@
define('vs/css', [], {
load: function (name, req, load) {
load({});
}
});
define('vs/nls', [], {
create: function () {
return {
localize: function () {
return 'NO_LOCALIZATION_FOR_YOU';
}
};
},
localize: function () {
return 'NO_LOCALIZATION_FOR_YOU';
},
load: function (name, req, load) {
load({});
}
});
define(['vs/editor/editor.main'], function (api) {
global.monaco = api;
});