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
We understand you have a problem and are in a hurry, but please provide us with some info to make it much more likely for your issue to be understood, worked on and resolved quickly.
Grep the lolex code for unref and see what it does (or look at the code, it's just a couple of hundred lines in one file). I haven't encountered that before. Maybe we just define the function but no implementation. Wouldn't know, but I do know we accept PRs ;)
What did you expect to happen?
According to NodeJS documentation the
ref()
andunref()
return the timer.https://nodejs.org/dist/latest-v8.x/docs/api/timers.html#timers_timeout_ref
What actually happens
But lolex returns undefined.
How to reproduce
If you comment out the
lolex.install()
line, it prints the NodeJS Timeout object.Thank you!
The text was updated successfully, but these errors were encountered: