-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 with jest-expo #646
Comments
I haven't used react-native so forgive me my ignorance: Why do you use To the issue: It seems jest is not transpiling |
I think what you probably want is: https://github.com/testing-library/jest-native :) |
Considering this is not an issue with React Testing Library, I'm going to go ahead and close this. If you find any bugs you'd like to report, please do so on React Native Testing Library :) Thanks! |
Expo also works for web and the corresponding web preset is used ( I created a small example repo with basic configuration. There is no react-native related component used in my test, but |
Oh man, adding |
Glad to hear. I suspected as much since it sounded similar to jestjs/jest#4637. I'd hope latest jest versions do this by default by now. |
I am having this issue using react testing library without jest-expo and with mjs in moduleFileExtensions |
@testing-library/react
version: 10.0.2react
version: 16.13.1node
version: v10.15.3yarn
version: 1.22.4jest-expo
version: 37.0.0Relevant code or config:
component.spec.tsx
jest.config.js
babel.config.js
What you did:
Run
jest --config jest.config.js --coverage --ci
What happened:
Test suite failed to run
Problem description:
With that error, I'm not able to run my tests.
The text was updated successfully, but these errors were encountered: