chronomancer
Manipulates the global Date object; useful for tests.
Installation
Get it via npm:
npm install --save chronomancer
Usage
// Accepts whatever the Date() constructor can parse const frozen = 1517356800000 // => 2018-01-31 in UNIX epoch time // Resets the global Date object // This will throw AssertionError (unless you've figured out time travel)