chore: do not swallow test-distro output

This commit is contained in:
Nico Rehwaldt 2021-10-14 23:22:09 +02:00 committed by Nico Rehwaldt
parent 3dfc1dd07e
commit df60006c74
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
var execSync = require('execa').sync;
var exec = require('execa').sync;
var failures = 0;
@ -13,7 +13,9 @@ function runTest(variant, env) {
console.log(`[EXEC] VARIANT=${variant} NODE_ENV=${env} karma start test/config/karma.distro.js`);
try {
execSync('karma', [ 'start', 'test/config/karma.distro.js' ]);
exec('karma', [ 'start', 'test/config/karma.distro.js' ], {
stdio: 'inherit'
});
} catch (e) {
console.error('[TEST] FAILURE ' + variant + '@' + env);
console.error(e);