Commit 6b15e21c authored by ι™ˆεΈ…'s avatar ι™ˆεΈ…

Modify start judgment

parent 6aa26265
...@@ -25,7 +25,7 @@ console.log('Starting development server for e2e tests...'); ...@@ -25,7 +25,7 @@ console.log('Starting development server for e2e tests...');
startServer.stdout.on('data', data => { startServer.stdout.on('data', data => {
// eslint-disable-next-line // eslint-disable-next-line
console.log(data.toString()); console.log(data.toString());
if (!once && data.toString().indexOf('App running at') >= 0) { if (!once && data.toString().indexOf('Compiled successfully') >= 0) {
// eslint-disable-next-line // eslint-disable-next-line
once = true; once = true;
console.log('Development server is started, ready to run tests.'); console.log('Development server is started, ready to run tests.');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment