Forráskód Böngészése

Modify start judgment

陈帅 7 éve
szülő
commit
6b15e21c49
1 módosított fájl, 1 hozzáadás és 1 törlés
  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 => {
   // 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.');