We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What did you expect to happen?
reset() resets the high-resolution timer.
reset()
What actually happens
The high-resolution timer is not reset.
How to reproduce
const clock = lolex.install() clock.now === 0 clock.tick(20) clock.hrNow === 20 clock.reset() clock.now === 0 clock.hrNow === 20
The text was updated successfully, but these errors were encountered:
PR welcome, otherwise I can work on this in October happily :)
Sorry, something went wrong.
fix: reset high resolution timer on clock.reset
4985ad3
Fixes sinonjs#206
089bdd2
fix: reset high resolution timer on clock.reset (#209)
f1f80da
Fixes #206
No branches or pull requests
What did you expect to happen?
reset()
resets the high-resolution timer.What actually happens
The high-resolution timer is not reset.
How to reproduce
The text was updated successfully, but these errors were encountered: