-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed as not planned
Description
🐛 Bug Report
Jest can hang indefinitely in node 12. I have seen this issue in docker and on osx.
To Reproduce
Steps to reproduce the behavior:
Call a library like get-port-sync
during a jest run on node 12. I think deasync could be triggering this but I am not sure.
Expected behavior
Link to repl or repo (highly encouraged)
https://github.com/pllee/jest-get-port-sync
> [email protected] log-port /jest-get-port-sync
> node -v && node log-port
v10.19.0
60199
[email protected] log-port /jest-get-port-sync
> node -v && node log-port
v12.16.1
59872
> node -v && jest
v10.19.0
PASS ./getPort.test.js
✓ gets a port sync (6ms)
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 1.517s
Ran all test suites.
> [email protected] test /jest-get-port-sync
> node -v && jest
v12.16.1
RUNS ./getPort.test.js
mcandre, matthewdordal, RobbieTheWagner, krampstudio and hirokith