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.
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 thereact-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
.