Type Alias WaitUntilOptions

WaitUntilOptions: PartialWithUndefined<{
    interval: AnyDuration;
    timeout: AnyDuration;
}>

Options for configuring the timing of waitUntil.

Type declaration

  • interval: AnyDuration

    The duration between attempts.

    {milliseconds: 100}
    
  • timeout: AnyDuration

    The maximum duration to keep trying. If the waitUntil expectations are still not met by this time, an AssertionError will be thrown.

    {seconds: 10}