Replies: 2 comments
-
you resolve this problem? When developing, I encountered exactly the same problem |
Beta Was this translation helpful? Give feedback.
0 replies
-
ESM doc has been updated https://kulshekhar.github.io/ts-jest/docs/guides/esm-support |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am switching from cjs to esm. I've fixed all the issues except jest running issues. He just refuses to work.
Here is datails.
/jest.config.js
/src/tests/jest.setup.ts
/package.json
tsconfig.json
Error after run npm run test
Then i have changed my jest.config.js
And now i receive error
src/utils/logger.ts:8:41 - error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
Beta Was this translation helpful? Give feedback.
All reactions