Skip to content

Commit 853f27e

Browse files
author
David Calhoun
committed
fix failing tests
1 parent ce8f7b8 commit 853f27e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

__tests__/sgp4.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ describe("getGroundTracks", () => {
229229
const firstLng = coords[0][0][0];
230230
const lastLng = coords[0][coords[0].length - 1][0];
231231

232-
expect(firstLng).toBe(-179.9996305056871);
232+
expect(firstLng).toBeCloseTo(-179.99963050);
233233
expect(lastLng).toBe(179.9939688862288);
234234
});
235235

@@ -263,7 +263,7 @@ describe("getGroundTracksSync", () => {
263263

264264
const firstLng = coords[0][0][0];
265265
const lastLng = coords[0][coords[0].length - 1][0];
266-
expect(firstLng).toBe(-179.9996305056871);
266+
expect(firstLng).toBeCloseTo(-179.9996305);
267267
expect(lastLng).toBe(179.9939688862288);
268268
});
269269

0 commit comments

Comments
 (0)