Closed sceee closed 1 year ago
Note that using this package with firebase-admin
11 also breaks, Timestamp
instances are not recognized anymore:
Cannot encode 063776714400.000000000to a Firestore Value. Local testing does not yet support objects of type Timestamp.
@sceee
Thank you for the bug report! This should be fixed with firebase-functions@3.22
with https://github.com/firebase/firebase-functions/pull/1151.
Please let me know if you're seeing the issue given firebase-functions@3.22
.
@mpsq
Is this still reproducible with the latest version of firebase-function
?
Do you have an example repo I could take a look at?
@TheIronDev Thanks, I can confirm this was resolved in the meantime as you mentioned.
@TheIronDev This is now fixed ;) issue was on my side.
@sceee @mpsq
Thank you for checking again!!
Version info
firebase-functions-test: 2.2.0
firebase-functions: 3.21.2
firebase-admin: 11.0.0
Test case
n/a, peer dependency warning emitted by npm 8. Relates to https://github.com/firebase/firebase-functions/issues/1147 .
Steps to reproduce
Update
firebase-admin
to v11 using the above mentioned versions forfirebase-functions-test
andfirebase-functions
.The following peer dependency warning is emitted by npm:
Expected behavior
firebase-functions-test
is compatible withfirebase-admin
v11 and npm does not emit the peer dependency warning.Actual behavior
See above.