How to mock messaging with jest
Hi I looked at your docs and also api , but I still could not find any documentation about proper mocking with jest. I also asked my question in stack overflow in case anyone else needs the answer as well:https://stackoverflow.com/questions/59144903/react-native-firebase-messaging-mocking-with-jest
I was wondering if you can write some documentation for proper mocking of v6 of messaging with jest.
Thanks
@hamidre13 have you solved this issue? Also, there is a comment in your reply. Would be nice if you can reply to it, so people can help and be helped :)
Hi Yes,
I was able to fix it, but then I cannot provide the whole code as it is a private repo. I did not test the actual firebase though, I was only able to mock and run jest for my other test cases.
No problem, i understand. Just asking because i couldn't solve my issue using the SO thread