-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Make --bail
work on a per-test/describe level
#7453
Comments
--bail
does not work #2--bail
work on a per-test/describe level
Maybe it would make sense to introduce a new flag that would work on a per-test (not test file) level? |
I suggest using the same flag. |
I agree - if we change we should reuse the old flag. I think that's the expected behavior. Implementing |
Seems like they change the documentation to remove the text saying a
I think a new flag it's better, since there should be several people using |
Is there a use case for the current behavior? I can't find a sentence to describe the current behavior that would be sufficiently different than bailing on a per-test basis. |
Duplicate of #6527 (implementation wise, although that focuses on hooks, not tests in general) |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
According to documentation https://jestjs.io/docs/en/api#describename-fn, a describe is a test suite.
But --bail is not really working when first test suite fails.
Is there a reason this is still closed?
Originally posted by @santimendoza in #2626 (comment)
Reopen issue please. I can't use "a lot of test files" because of this: #6194 (comment)
The text was updated successfully, but these errors were encountered: