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
When upgrading to 3.0.0, Jestis unable to find the redux-actions package:
● Test suite failed to run
Cannot find module 'redux-actions' from '.../XXX.ts'
Require stack:
...
> 1 | import { handleActions } from 'redux-actions';
My project is built by webpack, so I cannot migrate it to ESM, but everything else works with v3 - typescript compilation, webpack dev server runs perfectly working application and webpack build runs without any errors.
Addition information:
The dependency is added together with @types/redux-actions, it is included in each package's package.json, but I also added it to the root one, from where the tests are run
Node v16
npm v8
yarn v1
The text was updated successfully, but these errors were encountered:
When upgrading to
3.0.0
,Jest
is unable to find the redux-actions package:My project is built by
webpack
, so I cannot migrate it toESM
, but everything else works with v3 -typescript
compilation,webpack
dev server runs perfectly working application andwebpack build
runs without any errors.Addition information:
The dependency is added together with
@types/redux-actions
, it is included in each package'spackage.json
, but I also added it to the root one, from where the tests are runThe text was updated successfully, but these errors were encountered: