* Runs failed tests n-times until they pass or until the max number of * retries is exhausted. * * If `logErrorsBeforeRetry` is enabled, Jest will log the error(s) that caused * the test to fail to the console, providing visibility on why a retry occurred. * retries is exhausted. *
(
numRetries: number,
options?: {
logErrorsBeforeRetry?: boolean;
retryImmediately?: boolean;
waitBeforeRetry?: number;
},
)
| 313 | * Only available with `jest-circus` runner. |
| 314 | */ |
| 315 | retryTimes( |
| 316 | numRetries: number, |
| 317 | options?: { |
| 318 | logErrorsBeforeRetry?: boolean; |
no outgoing calls
no test coverage detected