-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
repeats
does not work at all
#3334
Comments
Start a new pull request in StackBlitz Codeflow. |
It doesn't repeat the code in "describe" block, it repeats tests. "describe" just collects and groups tests |
Yeah, so it only works right now if
all in all, it feels very clunky and buggy 🙁 |
If it is true, then it's a bug, yes.
What do you mean? How can default be 5? |
vitest/packages/runner/src/types/tasks.ts Lines 170 to 175 in fde628a
|
Looks like a typo. If tests were running 5 times by default, it would break a lot of stuff. |
At Faker we now moved to use |
To close this issue, we need to:
|
Describe the bug
There is a v0.31.0 new feature
repeats
#2652At "real world" it does not work at all.
There are tests in the code base, but somehow the bundled dist seems not to work
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-kzdmn9?file=test/suite.test.ts
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: