-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
Closed as not planned
Copy link
Labels
Description
Clear and concise description of the problem
At the moment, running tests vitest run --bail 1 --single-thread allows tests to continue running after the first (and many more) failures.
Test Files 8 failed | 36 passed (44)
Tests 33 failed | 82 passed | 2 skipped | 2 todo (119)
Start at 15:04:35
Duration 16.44s (transform 179ms, setup 0ms, collect 2.71s, tests 13.04s, environment 1ms, prepare 147ms)
Suggested solution
If --bail is set to 1, vitest should terminate all runners are soon as possible and return information about the first failure.
Alternative
No response
Additional context
- I tried
--single-threadto no different effect - I tried
--no-threadsto no different effect
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Reactions are currently unavailable