Asynchronous equivalent of jest.advanceTimersToNextTimer(). It also yields to the event loop,
allowing any scheduled promise callbacks to execute before running the timers.
Parameters
Optionalsteps: number
Returns Promise<void>
Remarks
Not available when using legacy fake timers implementation.
Asynchronous equivalent of
jest.advanceTimersToNextTimer()
. It also yields to the event loop, allowing any scheduled promise callbacks to execute before running the timers.