Jest and Fake Timers #823
DominicVonkPON
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you encounter a problem with Jest where the tests are not running due to the fake timers, it could be because MongoDB memory server relies on nextTick. To resolve this issue, you should avoid faking the nextTick function. By allowing the natural behavior of nextTick, you should be able to run the tests successfully with Jest.
Beta Was this translation helpful? Give feedback.
All reactions