-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In watch
mode server doesn't start
#229
Comments
Hello @edoroshenko, thanks for the report, right now I don't have time to investigate it. @xiaoyuhen maybe? |
Ummm, 🧐I thought i was fix that before. Will check this issues again. |
|
I'm also seeing this issue, but not with the create-react-app example. It looks like that's because the example references jest-puppeteer 3.7.0, which predates commit cc9bbfa. I uploaded a minimal testcase at https://github.com/tobyn/jest-no-start-server. Everything seems to work if I revert cc9bbfa |
@xiaoyuhen maybe there is more, can you double check please? |
Sorry to comment on a closed issue @xiaoyuhen @neoziro, but I am seeing this error as well with a similar setup to the demo repo, with the following envinfo:
I believe this issue needs to be reopened. |
Seems like indeed the issue is caused by the commit linked by @tobyn Hopefully it can be fixed soon. |
Feel free to submit a PR. |
Can start server manually |
🐛 Bug Report
If I specify a server and start
jest
in thewatch
mode, the server seems to not start at all.To Reproduce
It's reproducable in the create-react-app example. Clone the
jest-puppeteer
repo, move toexamples/create-react-app
, install modules and runnpm run test:integrationWithWatch
. It will fail, althoughnpm run test:integration
will work fine.Expected behavior
npm run test:integrationWithWatch
should passLink to repl or repo (highly encouraged)
https://github.com/smooth-code/jest-puppeteer/tree/cc9bbfa493349cc88273120996e713523cf86714/examples/create-react-app
Run
npx envinfo --system --binaries --npmPackages expect-puppeteer,jest-dev-server,jest-environment-puppeteer,jest-puppeteer,spawnd --markdown --clipboard
Paste the results here:
The text was updated successfully, but these errors were encountered: