-
Notifications
You must be signed in to change notification settings - Fork 401
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
π[BUG]: it seems that Ngxs is not compatible with Jest ESM #2061
Comments
vojtesaak
changed the title
π[BUG]: it seems Ngxs is not compatible with Jest ESM
π[BUG]: it seems that Ngxs is not compatible with Jest ESM
Sep 25, 2023
Same error if using So it seems to be ESM related |
Still running into this error, does anyone have a fix? node_modules/@ngxs/store/bundles/ngxs-store.umd.js:2:83 |
I am still running into this, is this something that's known? Is there a workaround? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Affected Package
@ngxs/store
Description
Tests run fine without ESM. If ESM is enabled, it ends up with error at the file with the NGXS import - it fails when requiring angular.
π¬ Minimal Reproduction
https://github.com/vojtesaak/ngxs-esm
npm run test
- without errornpm run test-esm
- errorThe text was updated successfully, but these errors were encountered: