@@ -1482,7 +1482,9 @@ describe('Test geo interactions', function() {
1482
1482
} )
1483
1483
. then ( function ( ) {
1484
1484
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');
1486
1488
1487
1489
return Plotly . relayout ( gd , {
1488
1490
'geo.center.lat' : null ,
@@ -2759,10 +2761,10 @@ describe('Test geo interactions update marker angles:', function() {
2759
2761
} )
2760
2762
. then ( function ( ) {
2761
2763
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 ' ) ;
2763
2765
2764
2766
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 ' ) ;
2766
2768
expect ( initialPath ) . toEqual ( 'M0,0L-1.5100144203478312,19.942914943667123L10.500523963798084,17.021721313830223Z' ) ;
2767
2769
} )
2768
2770
. then ( done , done . fail ) ;
0 commit comments