mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 07:00:11 +01:00
Restore basic-languages unit tests
This commit is contained in:
parent
0f7286cf55
commit
219b9b25eb
3 changed files with 8 additions and 10 deletions
25
test/unit/setup.js
Normal file
25
test/unit/setup.js
Normal 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;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue