Skip to content
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

--bail flag would be nice #127

Closed
amasad opened this issue Sep 4, 2014 · 5 comments
Closed

--bail flag would be nice #127

amasad opened this issue Sep 4, 2014 · 5 comments

Comments

@amasad
Copy link
Contributor

amasad commented Sep 4, 2014

Running with --bail should stop running and show the first error. When doing TDD it's nice to have to not weight for the rest of the tests.

@hojberg
Copy link

hojberg commented Sep 19, 2014

you can run just the 1 test your focusing on: jest path/to/file_test.js

@amasad
Copy link
Contributor Author

amasad commented Sep 19, 2014

that doesn't work exactly as expected currently it thinks path/to/file_test.js is a pattern and matches all files against it. Secondly, what I'm suggested is within the same test to bail at the first error. Currently what I end up doing is a bunch of iit to focus on the failing test and not flood my screen with all the other failing tests

@ghost
Copy link

ghost commented Aug 5, 2015

Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

@amasad
Copy link
Contributor Author

amasad commented Oct 8, 2015

This is done. Thanks to @PhilVargas!

@github-actions
Copy link

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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants