-
Notifications
You must be signed in to change notification settings - Fork 129
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 #1475
Comments
Thanks for reporting the issue. We'll give an update soon. |
I used Expo and encountered this bug. I'm looking forward to the updated version and advice to test with jest. |
I'm having the same issue, any luck? If there's a way to mock the config files this issue will go away. |
I'm having the same issue... Any news on this front? |
Did you tried adding this to your Jest config:
|
Hi, Is there any walkaround to fix this problem? I have tried using the Jest |
Can we please get some help with this? I'm encountering the same problem and transformIgnorePatterns fix doesn't work. |
Description
Default project can not run tests due to wrong jest config
CodeSandbox/Snack link
No response
Steps to reproduce
npm create gluestack
Mobile app (React Native + gluestack-ui)
, the rest can be dafaultcd my-app && npm run test
"@gluestack-style/react": "latest", 1.0.26
"@gluestack-ui/themed": "latest", 1.0.25
"@gluestack-ui/config": "latest", 1.0.8
"@legendapp/motion": "latest", 2.2.1
Expectation
I would expect that default cofig is configured to use latest Jest
gluestack-ui Version
latest
Platform
Other Platform
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: