Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sinsoku/sinon-with-time


https://github.com/sinsoku/sinon-with-time

Last synced: about 1 month ago
JSON representation

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");