You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have a warning related to the following message.
Test Suites: 1 passed, 1 total
Tests: 4 passed, 4 total
Snapshots: 0 total
Time: 2.633s
Ran all test suites.
Jest has detected the following 2 open handles potentially keeping Jest from exiting:
● Timeout
at withGlobal (node_modules/lolex/src/lolex-src.js:30:33)
at Object.<anonymous> (node_modules/lolex/src/lolex-src.js:892:29)
● Timeout
at withGlobal (node_modules/nise/node_modules/lolex/src/lolex-src.js:30:33)
at Object.<anonymous> (node_modules/nise/node_modules/lolex/src/lolex-src.js:858:29)
✨ Done in 3.52s.
It started to happen when I integrated sinon into my project, I'm not sure if the problem is Jest or Sinon.
Hey @jose920405, thanks for checking. Open handles are caused by userland code - we have tests that check that we don't leave any open. Happy to reopen if you can prove it's us though 👍
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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
🐛 Report
Hi, I have a warning related to the following message.
It started to happen when I integrated sinon into my project, I'm not sure if the problem is Jest or Sinon.
script:
"test": "jest --verbose --detectOpenHandles --forceExit",
Is related to this thread #6639 in which you can not find a solution.
Currently i'm using
"jest": "23.5.0",
.The text was updated successfully, but these errors were encountered: