-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Summary
Hi!
I have an issue with validating of collection type that doc method was called.
Is any way to get info from mockDoc about collection types that been triggered?
For example:
I get doc from collection named users so then I testing function I should know from mockDoc that it has been called from users collection exactly.
Now I know how many times function has been called or what the arguments have been used.
Relevant information
Maybe I can get a context of called function from mockDoc to someway define the collection type?
Environment (if relevant)
I'm using jest v28.1.3 and firestore-jest-mock 0.18.0
Metadata
Metadata
Assignees
Labels
No labels