Releases: sinonjs/fake-timers
Releases · sinonjs/fake-timers
v2.1.1
v2.1.0
v2.0.0
v1.6.0
Compatibility fix with React Native
This release contains only a minor compatibility fix for React Native, implemented in #87
Minor fixes to timers and error messages
- Fix setInterval() behavior with string times
- Incorporate test from PR #65
- Fix issue #59: context object required 'process'
- fixed a case where runAll was called and there are no timers (#70)
- Correct the clear{Interval|Timeout|Immediate} error message when calling
set*
for a different type of timer. - Lots of minor changes to tooling and the build process
Adds `runAll` and `process.hrtime`
- Add runAll method to run timers until empty
- Add tests demonstrating that a fake Date could be created with one argument as a String since this string is in a format recognized by the Date.parse() method.
- Add process.hrtime()
Adds clock.next and corrects parseTime behavior
- correct
parseTime()
error message so it matches behavior - Implement
clock.next()
- Lots of doc improvments
Fix for breaking setImmediate polyfills
This fixes an issue where lolex
and Sinon.JS
would break setImmediate polyfills.