소스 검색

update script for test

afc163 8 년 전
부모
커밋
662fd28ce2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/run-tests.js

+ 1 - 1
tests/run-tests.js

@@ -21,7 +21,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 (data.toString().indexOf('The app is running at') >= 0 ||
+  if (data.toString().indexOf('Compiled successfully') >= 0 ||
       data.toString().indexOf('Compiled with warnings') >= 0) {
       data.toString().indexOf('Compiled with warnings') >= 0) {
     // eslint-disable-next-line
     // eslint-disable-next-line
     console.log('Development server is started, ready to run tests.');
     console.log('Development server is started, ready to run tests.');