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