-
Thank you for a great library! I have module for firebase firestore integration which I need to test. I am using batch queries, security rules, transactions, etc... How can I test it? Preferably in e2e with real firebase environment. I have development project in firebase which I can use for testing. I am using detox and jest in my project. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi there! This is not firebase specific I think. With the details provided you could ask the same question about an app that uses CouchDB or similar. Design your screens so they have testIDs etc in the elements, and drive your app with Detox, asserting where necessary. It should be as simple (or as complicated) as that. |
Beta Was this translation helpful? Give feedback.
Hi there! This is not firebase specific I think. With the details provided you could ask the same question about an app that uses CouchDB or similar. Design your screens so they have testIDs etc in the elements, and drive your app with Detox, asserting where necessary. It should be as simple (or as complicated) as that.