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