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

fix: Override paths in memory also in "test" mode #571

Merged
merged 1 commit into from
Dec 30, 2021

Conversation

bencergazda
Copy link
Contributor

@bencergazda bencergazda commented Sep 13, 2021

react-app-rewired provides the correct rewired paths for the jest config, but it does not override the paths config in the memory. This leads to different errors on the react-scripts' side, especially when using with Typescript.

This PR fixes this bug in test.js by making the overridden paths config available to react-scripts.

@timarney
Copy link
Owner

Sorry for the long delay --- I'll let things settle on the recent releases and than look to merge this.

@timarney timarney merged commit b335bee into timarney:master Dec 30, 2021
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

Successfully merging this pull request may close these issues.

2 participants