Skip to content

Commit 3ddc6e0

Browse files
committed
Update geo tests
1 parent d836db9 commit 3ddc6e0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/jasmine/tests/geo_test.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,9 @@ describe('Test geo interactions', function() {
14821482
})
14831483
.then(function() {
14841484
check([179, -16.6], 1, 'spot on Fiji island that cross antimeridian west of antimeridian');
1485-
check([-179.9, -16.8], 1, 'spot on Fiji island that cross antimeridian east of antimeridian');
1485+
// This island no longer crosses the antimeridian due to differences in the simplification process.
1486+
// Commenting out for now in the event that we update the simplification and the test is needed again.
1487+
// check([-179.9, -16.7], 1, 'spot on Fiji island that cross antimeridian east of antimeridian');
14861488

14871489
return Plotly.relayout(gd, {
14881490
'geo.center.lat': null,
@@ -2759,10 +2761,10 @@ describe('Test geo interactions update marker angles:', function() {
27592761
})
27602762
.then(function() {
27612763
newPath = getPath();
2762-
expect(newPath).toEqual('M0,0L18.223277273610172,8.24088377597469L19.58681095693162,-4.04435860643234Z');
2764+
expect(newPath).toEqual('M0,0L18.22327727600463,8.240883770679762L19.586810955756498,-4.044358612123453Z');
27632765

27642766
expect(newPath).not.toEqual(initialPath);
2765-
expect(newPath).toEqual('M0,0L18.223277273610172,8.24088377597469L19.58681095693162,-4.04435860643234Z');
2767+
expect(newPath).toEqual('M0,0L18.22327727600463,8.240883770679762L19.586810955756498,-4.044358612123453Z');
27662768
expect(initialPath).toEqual('M0,0L-1.5100144203478312,19.942914943667123L10.500523963798084,17.021721313830223Z');
27672769
})
27682770
.then(done, done.fail);

0 commit comments

Comments
 (0)