Open agordeev opened 3 years ago
Thanks for posting.
We don't currently have support for the v1
namespace (mostly because I've never used it). Do you know what major differences between the current firestore admin and the v1 are?
@agordeev have you found any solution ? this issue seems to be related : 1827
@agordeev I stopped using firestore-jest-mock
The fix in this comment 👉 https://github.com/firebase/firebase-admin-node/issues/1827#issuecomment-1290987649
I added a function for backing up Firestore database, and now all my tests that use
firestore-jest-mock
fail due to this error:The function uses
admin.firestore.v1.FirestoreAdminClient
type, which doesn't seem to exist infirestore-jest-mock
. Any ideas how to fix this?