diff --git a/test/smoke/runner.js b/test/smoke/runner.js index 134edb81..295cf157 100644 --- a/test/smoke/runner.js +++ b/test/smoke/runner.js @@ -74,7 +74,7 @@ function runTest(type, browser) { proc.on('error', reject); proc.on('exit', (code) => { if (code === 0) { - resolve(); + resolve(undefined); } else { reject(code); } diff --git a/test/unit/all.js b/test/unit/all.js index 49edd26d..4314e146 100644 --- a/test/unit/all.js +++ b/test/unit/all.js @@ -58,5 +58,6 @@ requirejs( }, function (err) { console.log(err); + process.exit(1); } ); diff --git a/test/unit/setup.js b/test/unit/setup.js index 1aeef022..13a598eb 100644 --- a/test/unit/setup.js +++ b/test/unit/setup.js @@ -9,6 +9,9 @@ define('vs/nls', [], { return { localize: function () { return 'NO_LOCALIZATION_FOR_YOU'; + }, + getConfiguredDefaultLocale: function () { + return undefined; } }; },