0

enter image description here

Hello everyone I hope you're doing okey , I had this problem with googlesignin , I did mock it , then problem with firebase again did mock it , now Im getting this error and I can't find any solution for it

2 Answers 2

1

I believe adding a transformIgnorePatterns to your jest config file will solve your problem.

transformIgnorePatterns: [
"node_modules/(?!(react-native-root-siblings|react-native|my-project|react-native-button)/)",
  ],

https://jestjs.io/docs/configuration#transformignorepatterns-arraystring https://jestjs.io/docs/tutorial-react-native#transformignorepatterns-customization

Sign up to request clarification or add additional context in comments.

1 Comment

type ErrorHandler = (error: mixed, isFatal: boolean) => void; ^^^^^^^^^^^^ SyntaxError: Unexpected identifier
0

enter image description here

this is weird , I can't find a proper solution , I did try different transformignorePatterns

2 Comments

Try with the one I added, you have to add all the packages that are in conflicts
Same problem sadly

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.