Day 4
- Install
sinon - Use
sinon.useFakeTimers()andclock.tick()to speed up asynchronous timeout - Set up some date description tests
- Use
sinon.useFakeTimers()with dates to initialise correctly
sinonsinon.useFakeTimers() and clock.tick() to speed up asynchronous timeoutsinon.useFakeTimers() with dates to initialise correctly