KC's Workspace
    Preparing search index...
    SerializableRetry:
        | number
        | { condition?: RegExp; count?: number; delay?: number }

    Serializable retry configuration (used in config files). Functions cannot be serialized, so only string conditions are allowed.

    Type Declaration

    • number
    • { condition?: RegExp; count?: number; delay?: number }
      • Optionalcondition?: RegExp

        Condition to determine if a test should be retried based on the error. Must be a RegExp tested against the error message.

        undefined (retry on all errors)
        
      • Optionalcount?: number

        The number of times to retry the test if it fails.

        0
        
      • Optionaldelay?: number

        Delay in milliseconds between retry attempts.

        0