From 662fd28ce29a0f125157c8229976c4fdc96f6aeb Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 7 Jan 2018 16:24:06 +0800 Subject: [PATCH] update script for 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 46ef9bb1..15c822c0 100644 --- a/tests/run-tests.js +++ b/tests/run-tests.js @@ -21,7 +21,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('The app is running at') >= 0 || + if (data.toString().indexOf('Compiled successfully') >= 0 || data.toString().indexOf('Compiled with warnings') >= 0) { // eslint-disable-next-line console.log('Development server is started, ready to run tests.'); -- GitLab