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
And planning to migrate in the future to v6 and that's the reason we have the compat version.
But we keep running into jest issue of test failing with a message saying that You are loading the ES modules build of React Router on a page that is already running the CommonJS build, so things won't work right.
Expected Behavior
Jest tests should be running
Actual Behavior
Jest test failing with the below message:
Test suite failed to run
You are loading the ES modules build of React Router on a page that is already running the CommonJS build, so things won't work right.
The text was updated successfully, but these errors were encountered:
What version of React Router are you using?
5.3.3
Steps to Reproduce
I have all these 3 versions in my package.json
"react-router": "5.3.4",
"react-router-dom": "5.3.4",
"react-router-dom-v5-compat": "6.23.1",
And planning to migrate in the future to v6 and that's the reason we have the compat version.
But we keep running into jest issue of test failing with a message saying that
You are loading the ES modules build of React Router on a page that is already running the CommonJS build, so things won't work right.
Expected Behavior
Jest tests should be running
Actual Behavior
Jest test failing with the below message:
Test suite failed to run
The text was updated successfully, but these errors were encountered: