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

Not working with Jest from v3.0.0 #399

Open
svitovyda opened this issue Nov 27, 2023 · 1 comment
Open

Not working with Jest from v3.0.0 #399

svitovyda opened this issue Nov 27, 2023 · 1 comment

Comments

@svitovyda
Copy link

svitovyda commented Nov 27, 2023

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
@u3ih
Copy link

u3ih commented May 18, 2024

is there any update? i'm experiencing the same issue

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

No branches or pull requests

2 participants