Skip to content

Commit

Permalink
build: use HTTP get to determine when E2Es are ready to run
Browse files Browse the repository at this point in the history
See the note here, applies as we're using vite https://www.npmjs.com/package/start-server-and-test
  • Loading branch information
Harjot1Singh committed Jun 11, 2022
1 parent a8f0f57 commit a743690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"postinstall": "npm run install-deps",
"test:e2e": "cypress open",
"test:e2e:headless": "cypress run",
"test": "start-server-and-test start 52525 test:e2e:headless",
"test:dev": "start-server-and-test start 52525 test:e2e",
"test": "start-server-and-test start http-get://localhost:52525 test:e2e:headless",
"test:dev": "start-server-and-test start http-get://localhost:52525 test:e2e",
"lint:frontend": "cd frontend && npm run lint",
"lint:backend": "cd backend && npm run lint",
"lint": "npm-run-all -l -p lint:*"
Expand Down

0 comments on commit a743690

Please sign in to comment.