-
-
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
Watch plugin support: terminate test run per test basis #7622
Comments
Does |
Nope, it does not work. I use |
I've just checked and setting bail to true in a watch mode plugin definitely works (though I didn't use |
I see. I always thought Does it make sense to have |
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. |
🚀 Feature Proposal
Add a function
onTestComplete()
tojestHooks
which, if the callback returns false (or Promise resolves to false), will end the test run.Motivation
When making changes, you can break multiple tests at the same time.
I want the
bail
ability during watch mode so that I can focus on one test at a time.Currently, I have to use
t
/p
and change specific test totest.only()
, one at a time.Supporting this allows me to work immediately on one error at a time without being overloaded with all the errors.
The text was updated successfully, but these errors were encountered: