Optionalcondition?: RegExp | ((error: TestError) => boolean)Condition to determine if a test should be retried based on the error.
NOTE: Functions can only be used in test files, not in vitest.config.ts, because the configuration is serialized when passed to worker threads.
Optionalcount?: numberThe number of times to retry the test if it fails.
Optionaldelay?: numberDelay in milliseconds between retry attempts.
Retry configuration for tests. Can be a number for simple retry count, or an object for advanced retry control.