Open EdSancha opened 4 years ago
@EdSancha Thanks for opening an issue!
I've investigated, and it seemed like jest-expo
was causing the issue you mentioned.
I've modified jest config a bit, and the test has passed.
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
Thanks a lot!
It keeps failing with the same error. Did you do anything else?
@EdSancha sorry for the late response! I have a question, do you have jest installed globally on your pc? if so, what version of jest are you using? The error maybe caused by version mismatch of jest
First of all, thanks for putting this template together!
One of the requirements of my project is to support unit testing through Jest, but if I run:
I get the following error. Has anyone encountered this problem and if so, what's the solution? Thanks a lot!