-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Cannot use import statement outside a module after upgrading @swc-node/jest #699
Comments
Same issue here. I see it's because of this commit: e353c1a, which overrides the externalHelpers to true for @swc-node/jest. @Brooooooklyn Is it possible to accept option for externalHelpers? |
Hello Did you find a workaround 🙏 ? thank you! |
I didn't find a workaround with @swc-node/jest. However, when I turned to @swc/jest our application just worked without problem. You can have a try. |
running into similar issues here. Can anyone explain the difference between |
Also @gyz0072004 - do you have an example of your setup anywhere? Seems to be quite tricky to get everything (including setup / teardown files in TS) to play nicely. |
After upgrading
@swc-node/jest
from1.5.5
to1.6.2
I get next error while running jest tests.while having
module: "esnext"
in the tsconfigIt is probably related to #693
The text was updated successfully, but these errors were encountered: