We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Seeing this running npm test in a new project created with create-react-app@0.3.0:
npm test
Any pointers as to which Jest module I should poke around in to debug this?
The text was updated successfully, but these errors were encountered:
If I log the value of this._testPathDirPattern in jest-cli/build/SearchSource.js, I'm seeing hyphens being prefixed with a literal \:
this._testPathDirPattern
jest-cli/build/SearchSource.js
\
/C:\\Users\\Jonny\\repos\\tmp\\cra\\-030\\-app/
If I remove the hypen from escapeStrForRegex in jest-util/build/index.js, the test is found:
escapeStrForRegex
jest-util/build/index.js
const escapeStrForRegex = - string => string.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&'); + string => string.replace(/[[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Seeing this running
npm test
in a new project created with create-react-app@0.3.0:Any pointers as to which Jest module I should poke around in to debug this?
The text was updated successfully, but these errors were encountered: