I've been trying to test the GeoPoint object from Firestore, here's the code that I have:
request.resource.data.latLng is latlng;
and here's the portion of my test:
await firebase.assertSucceeds(userLocationRef.set({
"name": "Some name",
"locationString": "Some location",
"objectID": "objectID",
"phoneNumber": "Some phone number",
"latLng": {
"latitude": 9.82,
"longitude": -82.877
}
}))
With this code my test doesn't pass, I there a way to test a GeoPoint from Firestore?
Aucun commentaire:
Enregistrer un commentaire