Do you have any advice on how to unit test a Firestore Rx call? For example, let's say I wanted to mock the return of a db.collection("cities").rx.listen() in order to test the diff.type == .added logic in my UI code. As far as I can see, we cannot init a QuerySnapshot object.
Do you have any advice on how to unit test a Firestore Rx call? For example, let's say I wanted to mock the return of a
db.collection("cities").rx.listen()
in order to test thediff.type == .added
logic in my UI code. As far as I can see, we cannot init a QuerySnapshot object.