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
I have the following function written with .push() followed by .set() separately because I need to duplicate my id into the document for legacy reasons.
When testing this function, it never resolves, causing jest to timeout.
I haven't had the chance to test it if used in tandem, to see if .push().set() works, but in this particular case I would need to make two firebase calls to accommodate having id in the document, when the code, unchanged, works as expected with an actual firebase instance.
The text was updated successfully, but these errors were encountered:
I have the following function written with
.push()
followed by.set()
separately because I need to duplicate my id into the document for legacy reasons.When testing this function, it never resolves, causing jest to timeout.
I haven't had the chance to test it if used in tandem, to see if
.push().set()
works, but in this particular case I would need to make two firebase calls to accommodate havingid
in the document, when the code, unchanged, works as expected with an actual firebase instance.The text was updated successfully, but these errors were encountered: