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
Support globs, regexes and other search strategies #15
Comments
rogeliog
changed the title
Support globs and regexes
Support globs, regexes and other search strategies
Jul 12, 2018
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are a couple of issues in
facebook/jest
that propose the idea of supporting globs as a filtering mechanism. For example jestjs/jest#6422 and jestjs/jest#926Now that configs for watch plugins got released, I think we can leverage that.
The implementation should not be that hard, given that we can use
shouldRunTestSuite
for it, it does come with a couple of problems though.testPathPattern
is a regex, which means that we would need to rely onshouldRunTestSuite
when using a "filter" type that is not regex.jest-watch-select-projects
work. Althought we would also need another UI tweak to clear the filterThe text was updated successfully, but these errors were encountered: