Skip to content

Fake Timers #2855

Answered by novemberborn
kudla asked this question in Q&A
Discussion options

You must be logged in to vote

setTimeout, Date, etc are globals, so shared between all running code in the process or worker thread. You cannot fake them and then also run concurrent tests.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kudla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants