From df60006c74bde1baadfa8df20cc5bbb1995cc0b8 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Thu, 14 Oct 2021 23:22:09 +0200 Subject: [PATCH] chore: do not swallow test-distro output --- tasks/test-distro.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tasks/test-distro.js b/tasks/test-distro.js index ac06df8e..2d0f64c4 100644 --- a/tasks/test-distro.js +++ b/tasks/test-distro.js @@ -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);