From c271a7b7f18b583f9bd589c823ae125372b9e1c1 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 13 Sep 2017 13:23:31 +0800 Subject: [PATCH] fix test --- tests/run-tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run-tests.js b/tests/run-tests.js index adf22a67..65f4d800 100644 --- a/tests/run-tests.js +++ b/tests/run-tests.js @@ -22,7 +22,7 @@ startServer.stdout.on('data', (data) => { if (data.toString().indexOf('The app is running at') >= 0) { // eslint-disable-next-line console.log('Development server is started, ready to run tests.'); - const testCmd = spawn('npm', ['run', 'jest'], { + const testCmd = spawn('npm', ['test'], { stdio: 'inherit', }); testCmd.on('exit', () => { -- GitLab