You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like you're using Typescript? I'm guessing via create-react-app-typescript? If so this issue belongs over there.
If this is the case I ran into the same issue, and disabling allowSyntheticDefaultImports in the tsconfig.json did the trick for me. Check out wmonk/create-react-app-typescript#214 (comment) for more info.
Is this a bug report?
No
Did you try recovering your dependencies?
Yes
Steps to Reproduce
(Write your steps here:)
App.js
component import it using dynamic import (I am also using react-loadable for this):App.test.js
(I am using enzyme) try to write a simple test:Expected Behavior
The test should pass.
Actual Behavior
Result:
Possible solution
Allow "transform" option in jest's package.json config?
The text was updated successfully, but these errors were encountered: