Browse Source

Modify start judgment

pull/2742/head
陈帅 8 years ago
parent
commit
6b15e21c49
  1. 2
      tests/run-tests.js

2
tests/run-tests.js

@ -25,7 +25,7 @@ console.log('Starting development server for e2e tests...');
startServer.stdout.on('data', data => {
// eslint-disable-next-line
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
once = true;
console.log('Development server is started, ready to run tests.');

Loading…
Cancel
Save