lolex
на сайте с 04 сентября 2022, 03:07
JavaScript implementation of the timer APIs; setTimeout, clearTimeout, setImmediate, clearImmediate, setInterval, clearInterval, requestAnimationFrame, cancelAnimationFrame, requestIdleCallback, and cancelIdleCallback, along with a clock instance that controls the flow of time. FakeTimers also provides a Date implementation that gets its time from the clock.