According to this documentation, you can create a false DeltaSnapshot database for a real-time firebase database. But I'm trying to test the firebase function with firestore, and here the event is of this type:
event: firebase.Event<firebase.firestore.DeltaDocumentSnapshot>
So how do you mock this event so that you can unit test use the firestore trigger functions?
source
share