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.0

18 May 2016Where it was published

1.6.0 is the newest release of 1.x.

In short

3 new

Release note

  • 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()

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.