Packages

lolex

6.0.0 · 4 Feb 2020BSD-3-Clause2.5M / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: lolex has been renamed to @sinonjs/fake-timers. No API changes made. Please use the new package insteadWhat to use instead
Your version

1.5.1

28 Jul 2016Where it was published

1.6.0 is the newest release of 1.x.

In short

4 fixed2 changed

Release note

  • 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

  • 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

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.