-
-
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
Jest tests never executes when path contain brackets #5172
Comments
I thinks this, in practice, is a dupe of #4838. Different places, but I think the underlying issue is that we don't escape patterns and regexes |
@SimenB But why test is found(there is 1 test match) but never executed? |
I'm gonna take a chance and close this. Happy to reopen if it's still in issue in Jest 23! |
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. |
Hi,
Im using jest on Windows 7. When i place project on path that contain some kind of brackets([], {}, ()) test can be found using testRegex option but it never executes?
Console output:
10 files checked.
testMatch: /tests//*.{spec,test}.js - 1 match
testPathIgnorePatterns: \node_modules\ - 10 matches
Pattern: - 0 matches
npm ERR! code ELIFECYCLE
Console output screenshoot
I tried to remove brackets from folder and it works as expected.
Jest verision used: 22.0.4
The text was updated successfully, but these errors were encountered: