-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Labels
Description
I have a Vite dev server running on port 3000 with a functioning application. Running the e2e tests in a separate thread works fine. But together run by start-server-and-test it stucks after starting the Vite server.
- version 1.11.7
- platform MacOS
- expected behavior: Runs the tests after the dev server started.
- actual behavior: start-server-and-test hangs when Vite start the webserver. The server is up and running and the tests can be run in a separate terminal.
My package json setup:
"scripts": {
"start": "vite",
"test:e2e:javascript": "start-server-and-test start http://localhost:3000 e2e:javascript",
"e2e:javascript": "jest --config=jest.e2e.config.js e2e/javascript"
}
Reproduction: In my https://github.com/blacksonic/vue-3-playground repository run: npm run test:e2e:javascript
m3hari, rqbazan, straurob, townsean, sunpochin and 4 more