Skip to content

Commit 458bca4

Browse files
authored
test(firestore): fix failing test (#6438)
1 parent b062e74 commit 458bca4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

packages/firestore/e2e/GeoPoint.e2e.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,10 @@ describe('firestore.GeoPoint', function () {
109109

110110
describe('toJSON()', function () {
111111
it('returns a json representation of the GeoPoint', function () {
112-
const geo = new firebase.firestore.GeoPoint(100, 200);
113-
geo.toJSON().should.deepEqual({
114-
latitude: 100,
115-
longitude: 200,
116-
});
112+
const geo = new firebase.firestore.GeoPoint(30, 35);
113+
const json = geo.toJSON();
114+
json.latitude.should.eql(30);
115+
json.longitude.should.eql(35);
117116
});
118117
});
119118

0 commit comments

Comments
 (0)