-
Notifications
You must be signed in to change notification settings - Fork 36
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
Test suite failed to run error: Expected ';', '}' or <eof> #83
Comments
Yes - that or inline it like the README implicitly suggests: https://github.com/swc-project/jest#usage module.exports = {
transform: {
'^.+\\.(t|j)sx?$': ['@swc/jest', { ...config, /* custom configuration in Jest */ }], //.swcrc contents go here in place of `config`
},
} I am also here because of the recent I am trying to use this package with a React Native app - and am running into issues after I resolve the one listed here. I resolved this issue you've outlined by adding an And just a basic one from the example in the repo here: jest/examples/react/package.json Lines 33 to 51 in 4660359
The above works without a physical The issue I'm running into now - is very similar:
I haven't had any luck getting past this point and would LOVE some help troubleshooting how to move forward. EDIT: I'll make a separate issue so this question doesn't muddy up your question. Hope this answer helped though. #85 |
I just tried switching to this package instead of ts-jest since it was so slow at handling errors. I get this error on any test I run... I'm assuming I didn't configure this properly. Any ideas? Do I need to set up a .swcrc file? if so, what goes in there?
Thanks for your work on this.
The text was updated successfully, but these errors were encountered: