-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Jest freezing after tests run in Node 11 #7282
Comments
I get the same hanging, but a reduced example would be great 🙂 |
After disable some test I've found issue in this snippet in my code (not test file): var x = next.offset().top - 50;
$('html,body').animate({scrollTop: x}, 500);
|
I've also found issue with |
@SimenB do you use setTimeout in your code that's freezing? |
The issues seems resolved and the fix will be in Node v11.1.0, I would keep this open until it's fixed upstream or you can close if you think it would be better, but someone may report same issue. |
@jcubic I meant that your reproduction also froze for me, I don't have any separate project showing the same error. If it's a bug in node slated for a release, I'll close this. If it actually is jest's fault somehow, happy to reopen 🙂 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🐛 Bug Report
I have normal quite big test file that work fine in node 10 but is freezing in 11 after printing:
From what I've checked all my setTimeouts return a promises or have async
done()
call.Found this in Travis here is link to broken build:
https://travis-ci.org/jcubic/jquery.terminal/builds/445853587
To Reproduce
on Node 11:
make test
is running this command:no config file
Expected behavior
test finish and script exits
Link to repl or repo (highly encouraged)
Will try to make smaller repro
Run
npx envinfo --preset jest
The text was updated successfully, but these errors were encountered: