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

CLI option to run test by regexp #1662

Closed
ai opened this issue Sep 10, 2016 · 4 comments · Fixed by #1733
Closed

CLI option to run test by regexp #1662

ai opened this issue Sep 10, 2016 · 4 comments · Fixed by #1733

Comments

@ai
Copy link
Contributor

ai commented Sep 10, 2016

Do you want to request a feature or report a bug?

Feature request

What is the current behavior?

I could only select a file by CLI jest test/one.test.js. To run only one test, I can use fit().

What is the expected behavior?

Run specific it("should work with UTF-8") test by jest -m UTF-8

@ai
Copy link
Contributor Author

ai commented Sep 10, 2016

AVA has -m regexp argument for this. Mocha has -g regexp.

@cpojer
Copy link
Member

cpojer commented Sep 10, 2016

agree we should have this. @kittens was looking into this actually.

@cpojer
Copy link
Member

cpojer commented Sep 18, 2016

Will be implemented in the next release, see the attached PR :) Nice work @fson.

@cpojer cpojer closed this as completed Sep 18, 2016
@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

Successfully merging a pull request may close this issue.

2 participants