timer-ref

1.0.0 • Public • Published

NPM version Build Status Dependencies Dev Dependencies

timer-ref

Usage

Modules like sinon and timekeeper can modify Date and timers which can lead to problems, if you are, for example, building a test runner. This modules simply caches the original objects, so you can use them even after modified.

In order to be effective, require this module as early as possible.

  • Date
  • setTimeout
  • clearTimeout
  • setInterval
  • clearInterval

Tests

$ npm install
$ npm test

Authors

License

The MIT License (see LICENSE)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0

Package Sidebar

Install

npm i timer-ref

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • vesln