JavaScript implementation of the timer APIs; setTimeout, clearTimeout, setImmediate, clearImmediate, setInterval, clearInterval, requestAnimationFrame ...
@sinonjs/fake-timers can be used to simulate passing time in automated tests and other situations where you want the scheduling semantics, but don't want to actually wait. @sinonjs/fake-timers is ...