@@ -1421,66 +1421,6 @@ describe('Test geo interactions', function() {
14211421        . then ( done ,  done . fail ) ; 
14221422    } ) ; 
14231423
1424-     it ( 'should plot to scope defaults when user setting lead to NaN map bounds' ,  function ( done )  { 
1425-         var  gd  =  createGraphDiv ( ) ; 
1426- 
1427-         spyOn ( Lib ,  'warn' ) ; 
1428- 
1429-         Plotly . newPlot ( gd ,  [ { 
1430-             type : 'scattergeo' , 
1431-             lon : [ 0 ] , 
1432-             lat : [ 0 ] 
1433-         } ] ,  { 
1434-             geo : { 
1435-                 projection : { 
1436-                     type : 'kavrayskiy7' , 
1437-                     rotation : { 
1438-                         lat : 38.794799 , 
1439-                         lon : - 81.622334 , 
1440-                     } 
1441-                 } , 
1442-                 center : { 
1443-                     lat : - 81 
1444-                 } , 
1445-                 lataxis : { 
1446-                     range : [ 38.794799 ,  45.122292 ] 
1447-                 } , 
1448-                 lonaxis : { 
1449-                     range : [ - 82.904731 ,  - 81.622334 ] 
1450-                 } 
1451-             } , 
1452-             width : 700 , 
1453-             heigth : 500 
1454-         } ) 
1455-         . then ( function ( )  { 
1456-             var  geoLayout  =  gd . _fullLayout . geo ; 
1457-             var  geo  =  geoLayout . _subplot ; 
1458- 
1459-             expect ( geoLayout . projection . rotation ) . toEqual ( { 
1460-                 lon : 0 ,  lat : 0 ,  roll : 0 , 
1461-             } ) ; 
1462-             expect ( geoLayout . center ) . toEqual ( { 
1463-                 lon : 0 ,  lat : 0 
1464-             } ) ; 
1465-             expect ( geoLayout . lonaxis . range ) . toEqual ( [ - 180 ,  180 ] ) ; 
1466-             expect ( geoLayout . lataxis . range ) . toEqual ( [ - 90 ,  90 ] ) ; 
1467- 
1468-             expect ( geo . viewInitial ) . toEqual ( { 
1469-                 'fitbounds' : false , 
1470-                 'projection.rotation.lon' : 0 , 
1471-                 'center.lon' : 0 , 
1472-                 'center.lat' : 0 , 
1473-                 'projection.scale' : 1 
1474-             } ) ; 
1475- 
1476-             expect ( Lib . warn ) . toHaveBeenCalledTimes ( 1 ) ; 
1477-             expect ( Lib . warn ) . toHaveBeenCalledWith ( 
1478-                 'Invalid geo settings, relayout\'ing to default view.' 
1479-             ) ; 
1480-         } ) 
1481-         . then ( done ,  done . fail ) ; 
1482-     } ) ; 
1483- 
14841424    it ( 'should get hover right for choropleths involving landmasses that cross antimeridian' ,  function ( done )  { 
14851425        var  gd  =  createGraphDiv ( ) ; 
14861426
0 commit comments