better regex support for watch mode filtering
See original GitHub issueDo you want to request a feature or report a bug? bug
What is the current behavior?
I have 2 files: class.spec.ts
and isClass.spec.ts
I want to filter by file (p
) to run test is class.spec.ts
only.
Currently ^class
comes back to 0 matches.
What is the expected behavior?
there should be a way to filter down to class.spec.ts
only.
🌷
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
watch mode regex is not working · Issue #9528 · facebook/jest
Press s to suspend watch mode. › Press t to filter by a test name regex pattern. › Press v to turn on...
Read more >Search Console Introduces Regex Filters & More Digital ...
New Filtering in Google Search Console Gone are the days of filtering URLs and queries by one string at a time. In addition...
Read more >Regular Expression and Filter Bypass | CyberSecurityTV
Thank you for watching the video : Regular Expression and Filter Bypass | CyberSecurityTVRegular expressions are widely used in web ...
Read more >Writing better Regular Expressions in PHP • PHP.Watch
PHP's filters and ctype functions provide validations such as URL, email, ... Here are some tips to improve and write better regular expressions...
Read more >Use regular expressions in filters and automated rules
When you set up filters or automated rules, you use pattern matching to specify just the campaigns, ad groups, ads, or biddable items...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Another case to improve upon:
Project located at
.../projects/unite/def
Project contains:./src/somefile.unit.js
./src/otherfile.acceptance.js
When filter using
p
withunit
, theotherfile.acceptance.js
is also executed because it full path has “unit” in it:.../project/UNITe/def/src/otherfile.acceptance.js
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.