-
-
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
docs(cli): updated documentation for --runTestsByPath
command
#14004
Conversation
When ran with a pattern, no test is found: | ||
|
||
```bash | ||
jest --runTestsByPath __tests__/t |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps to is worth mentioning that glob patterns can be used, if users shell is able to expand them?
For example, on Linux or macOS it is possible to run all tests in a folder like this:
jest --runTestsByPath __tests__/*
EDIT In the other hand, jest __tests__/*
does the similar thing (just similar thing, because paths will be treated as patterns). Less typing. So probably there is no need to add anything. Sorry about the noise (;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem 👍
I used the test case introduced by the original commit as a guideline.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Improved documentation for the
--runTestsByPath
CLI command added in #4411Closes #11124