Ahn
Ahn
I also need this
hi, are there any updates on this ?
What I experienced was: If using `esbuild` or `swc` to compile `tslib.es6.js`, Jest cannot process the compiled output. However, if I use TypeScript API to compile `tslib.es6.js`, Jest is happy...
Enable `isolatedModules` in `tsconfig` has no effect on what `ts-jest` does internally. Indeed the option `isolatedModules` of `ts-jest` config is identical to transpilation mode like `ts-node`. Because both of the...
Can you pls provide the content of `packages/ui/src/components/Toast/__tests__/Toast.spec.tsx`, your jest config as well as test tsconfig?
@LuRenJiasWorld I need a bit of data to test this issue. Would you please provide some sample data to reproduce this case?
If you kindly provide a reproduce scenario, that would be very helpful for us to investigate. Currently we have no idea how to reproduce that situation. The best is a...
nice!! thanks a lot @ittaibaratz. I could reproduce this error with your repo. That helps a lot. **Edited**: I think this error only happens when using `isolatedModules: false`, `isolatedModules: true`...
I mean https://kulshekhar.github.io/ts-jest/docs/getting-started/options/isolatedModules . Another thing I just noticed is: this error will disappear if I set `"jsxFragmentFactory": "React.Fragment"` in `tsconfig.json`. I think it has something to do with TypeScript...
I've tested your repo with the build from `main` branch and the suggestion from TypeScript team doesn't fix the issue.