Docs should provide better info on testing Nextjs apps with Native base #5050
MiguelNiblock
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to set up Jest with Native-base on Nextjs, and it was a bit of a 2-day nightmare. The second day of trying I decided to take meticulous notes so I could better understand the problem. I ended up finding a complete solution and writing an article about it. You can find it here. https://dev.to/miguelniblock/jest-for-native-base-on-nextjs-with-react-native-web-34b8
The final reproducible example of Jest configuration for Native-base with Nextjs can be found here. https://github.com/MiguelNiblock/next-jest-nativebase
Here's the final jest config file:
and jest.setup.js
Beta Was this translation helpful? Give feedback.
All reactions