Skip to content
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

Upgrade to react-scripts 0.8.1 #39

Closed
joshwcomeau opened this issue Dec 10, 2016 · 1 comment
Closed

Upgrade to react-scripts 0.8.1 #39

joshwcomeau opened this issue Dec 10, 2016 · 1 comment

Comments

@joshwcomeau
Copy link

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 on react-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`

@kitze
Copy link
Owner

kitze commented Dec 12, 2016

Done! 🙌

@kitze kitze closed this as completed Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants