cypress-cucumber-steps
    Preparing search index...

    Function When_I_advance_timers_by_milliseconds

    • When I advance timers by milliseconds:

      When I advance timers by {int} milliseconds
      

      Moves the clock the specified number of milliseconds. Any timers within the affected range of time will be called.

      Parameters

      • milliseconds: number

      Returns void

      Tick the clock time by 300 milliseconds:

      When I advance timers by 300 milliseconds
      

      Tick the clock time by 1 millisecond:

      When I advance timers by 1 millisecond
      

      A preceding step "When I use fake timers" is required. For example:

      When I use fake timers
      And I advance timers by 300 milliseconds