Przeglądaj źródła

Modify start judgment

陈帅 7 lat temu
rodzic
commit
6b15e21c49
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      tests/run-tests.js

+ 1 - 1
tests/run-tests.js

@@ -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.');