Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sinsoku/sinon-with-time
https://github.com/sinsoku/sinon-with-time
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sinsoku/sinon-with-time
- Owner: sinsoku
- License: mit
- Created: 2014-10-26T14:52:51.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-26T15:25:07.000Z (about 10 years ago)
- Last Synced: 2024-09-27T00:19:42.794Z (3 months ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sinon-with-time
This module expands `sinon.useFakeTimers()` for [node-time](https://github.com/TooTallNate/node-time).
## Installation
Install with [npm](https://www.npmjs.org/):
$ npm install sinon-with-time
And it require before calling `sinon.useFakeTimers()`:
require("sinon-with-time");