You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 namedusers
so then I testing function I should know frommockDoc
that it has been called fromusers
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
andfirestore-jest-mock 0.18.0
The text was updated successfully, but these errors were encountered: