Comunica
    Preparing search index...

    Function advanceTimersByTimeAsync

    • 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>

      Not available when using legacy fake timers implementation.