mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 18:32:56 +01:00
Fix unit tests (#3368)
This commit is contained in:
parent
547870b688
commit
a3d4b960c5
3 changed files with 5 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ function runTest(type, browser) {
|
||||||
proc.on('error', reject);
|
proc.on('error', reject);
|
||||||
proc.on('exit', (code) => {
|
proc.on('exit', (code) => {
|
||||||
if (code === 0) {
|
if (code === 0) {
|
||||||
resolve();
|
resolve(undefined);
|
||||||
} else {
|
} else {
|
||||||
reject(code);
|
reject(code);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -58,5 +58,6 @@ requirejs(
|
||||||
},
|
},
|
||||||
function (err) {
|
function (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
|
process.exit(1);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,9 @@ define('vs/nls', [], {
|
||||||
return {
|
return {
|
||||||
localize: function () {
|
localize: function () {
|
||||||
return 'NO_LOCALIZATION_FOR_YOU';
|
return 'NO_LOCALIZATION_FOR_YOU';
|
||||||
|
},
|
||||||
|
getConfiguredDefaultLocale: function () {
|
||||||
|
return undefined;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue