Advances all timers by the needed milliseconds to execute callbacks currently scheduled with requestAnimationFrame.
advanceTimersToNextFrame() is a helpful way to execute code that is scheduled using requestAnimationFrame.
Returns void
Remarks
Not available when using legacy fake timers implementation.
Advances all timers by the needed milliseconds to execute callbacks currently scheduled with
requestAnimationFrame
.advanceTimersToNextFrame()
is a helpful way to execute code that is scheduled usingrequestAnimationFrame
.