Ignite boilerplate doesn't accept jsx/tsx in tests out of the box? #2732
Answered
by
lindboe
ntomkevich
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
lindboe
Aug 13, 2024
Replies: 2 comments 8 replies
-
Hi @ntomkevich could you provide an example repo with a reproduction of what you're experiencing? This would really help us troubleshoot to the best of our ability |
Beta Was this translation helpful? Give feedback.
0 replies
-
I basically run: npx ignite-cli@latest new PizzaApp
I then use the project's test script:
Jest config:
Babel.config.js
|
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @ntomkevich, it looks like some of the configuration in jest.config.js was out-of-date and not needed or compatible with newer jest-expo. Good news, to get this to work all you should have to do is remove some config, here's the PR as an example: #2740