diff --git a/tests/run-tests.js b/tests/run-tests.js index a1b6f25913147db3b7eb567883ad4e7f15c0bcd0..a5e687a929458ecac9240fd39246734ad82d5372 100644 --- a/tests/run-tests.js +++ b/tests/run-tests.js @@ -22,10 +22,7 @@ console.log('Starting development server for e2e tests...'); startServer.stdout.on('data', data => { // eslint-disable-next-line console.log(data.toString()); - if ( - data.toString().indexOf('Compiled successfully') >= 0 || - data.toString().indexOf('Compiled with warnings') >= 0 - ) { + if (data.toString().indexOf('App running at') >= 0) { // eslint-disable-next-line console.log('Development server is started, ready to run tests.'); const testCmd = spawn(/^win/.test(process.platform) ? 'npm.cmd' : 'npm', ['test'], {