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
react-scripts
If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Yes
react-scripts introduced a bug in which Jest will auto-mock files in different directories.
I am assuming the latest version of custom-react-scripts relies on react-scripts 0.8.0, because I'm experiencing this issue with it.
custom-react-scripts
Upgrading to 0.8.1 should fix it :)
The functions should be imported properly, so that they can be genuinely tested.
The functions imported are replaced with a string that reads 'test-file-stub`
The text was updated successfully, but these errors were encountered:
Done! 🙌
Sorry, something went wrong.
No branches or pull requests
If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Can you reproduce the problem with latest npm?
Yes
Description
react-scripts
introduced a bug in which Jest will auto-mock files in different directories.I am assuming the latest version of
custom-react-scripts
relies onreact-scripts
0.8.0, because I'm experiencing this issue with it.Upgrading to 0.8.1 should fix it :)
Expected behavior
The functions should be imported properly, so that they can be genuinely tested.
Actual behavior
The functions imported are replaced with a string that reads 'test-file-stub`
The text was updated successfully, but these errors were encountered: