retry
does not seem to work in global settings
#4490
Labels
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
I have set the
retry
property on the global settings like this:Yet it doesn't seem to retry the test when it fails.
It does however work when providing individual tests with the
retry
property.I'm not sure if this is by design. But it seems odd that property is present in the object interface for the global settings but doesn't do anything.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-9rwytu?file=test%2Fbasic.test.ts
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: