Open sniperadmin opened 4 years ago
I was having this problem too. I realized I was importing another helper class that also referenced a firebase library. Make sure you have mocked out every method that is calling a firebase method and if you are calling them directly then mock those out as well.
Cool @emmanuelthegrey , now i have resolved some config errors. If you could give assistance with the following issues, i will be grateful:
Jest has unexpected behaviors:
first, this error pops up:
seond: the project does not use TS by any means.
here are the basic configs
jest.config.js
babel.config.js