Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Jest run tests: Cannot read property 'RNGeocoder' of undefined #99

Open
apoorva-techie opened this issue Jan 13, 2020 · 1 comment
Open

Comments

@apoorva-techie
Copy link

Hi,

While running npm tests i am getting this error in the application

` ● Test suite failed to run

TypeError: Cannot read property 'RNGeocoder' of undefined

  at Object.<anonymous> (node_modules/react-native-geocoder/js/geocoder.js:4:41)
  at Object.<anonymous> (node_modules/react-native-geocoder/index.js:1:252)`

Any ideas how to mock this?

@ezranbayantemur
Copy link

Did you tried cd ios && pod install?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants