diff --git a/tests/run-tests.js b/tests/run-tests.js index adf22a67026b7299c78b9d74d3e02b255e7be93e..65f4d800564679308bf9c0783f8a90d8569b3d22 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', () => {