SyntaxError: Missing initializer in const declaration
I resolved this added "preset": "react-native" in jest.config.js file
I am using expo in my project. I have same issue. i forgot to add "preset": "jest-expo" to package.json. i added then the problem solved.
"jest": { "preset": "jest-expo" },