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
{{ message }}
This repository was archived by the owner on May 13, 2019. It is now read-only.
What should be the general things we want to happen with timers in tests?
Recommend against using timers if at all possible. (Obviously, if the test is specifically testing timers, then using them is fine.)
Do we distinguish between setTimeout(), setImmediate(), and process.nextTick()? I think only setTimeout() is generally problematic. The other two are usually fine.
Tests that rely on timers should go in sequential and not in parallel.