@@ -835,15 +835,15 @@ describe('mapbox plots', function() {
835
835
return Plotly . react ( gd , [ { type : 'scattermapbox' } ] , {
836
836
mapbox : {
837
837
layers : [ {
838
- " source" : {
839
- " name" : " LIMADMIN" ,
840
- " type" : " FeatureCollection" ,
841
- " features" : [ ]
838
+ source : {
839
+ name : ' LIMADMIN' ,
840
+ type : ' FeatureCollection' ,
841
+ features : [ ]
842
842
} ,
843
- " type" : " fill" ,
844
- " below" : " water" ,
845
- " color" : " #ece2f0" ,
846
- " opacity" : 0.8
843
+ type : ' fill' ,
844
+ below : ' water' ,
845
+ color : ' #ece2f0' ,
846
+ opacity : 0.8
847
847
} ]
848
848
}
849
849
} ) ;
@@ -1155,7 +1155,6 @@ describe('mapbox plots', function() {
1155
1155
} , LONG_TIMEOUT_INTERVAL ) ;
1156
1156
1157
1157
it ( '@noCI @gl should respect scrollZoom config option' , function ( done ) {
1158
-
1159
1158
var relayoutCnt = 0 ;
1160
1159
var addOnGd = function ( ) {
1161
1160
gd . on ( 'plotly_relayout' , function ( ) { relayoutCnt ++ ; } ) ;
@@ -1172,7 +1171,6 @@ describe('mapbox plots', function() {
1172
1171
1173
1172
var zoom = getMapInfo ( gd ) . zoom ;
1174
1173
expect ( zoom ) . toBeCloseTo ( 1.234 ) ;
1175
- var zoom0 = zoom ;
1176
1174
1177
1175
addOnGd ( ) ;
1178
1176
@@ -1579,15 +1577,15 @@ describe('test mapbox trace/layout *below* interactions', function() {
1579
1577
mapbox : {
1580
1578
style : 'basic' ,
1581
1579
layers : [ {
1582
- " source" : {
1583
- " name" : " LIMADMIN" ,
1584
- " type" : " FeatureCollection" ,
1585
- " features" : [ ]
1580
+ source : {
1581
+ name : ' LIMADMIN' ,
1582
+ type : ' FeatureCollection' ,
1583
+ features : [ ]
1586
1584
} ,
1587
- " type" : " fill" ,
1588
- " below" : " water" ,
1589
- " color" : " #ece2f0" ,
1590
- " opacity" : 0.8
1585
+ type : ' fill' ,
1586
+ below : ' water' ,
1587
+ color : ' #ece2f0' ,
1588
+ opacity : 0.8
1591
1589
} ]
1592
1590
}
1593
1591
} )
@@ -1774,16 +1772,16 @@ describe('test mapbox trace/layout *below* interactions', function() {
1774
1772
mapbox : {
1775
1773
style : 'basic' ,
1776
1774
layers : [ {
1777
- " source" : {
1778
- " name" : " LIMADMIN" ,
1779
- " type" : " FeatureCollection" ,
1780
- " features" : [ ]
1775
+ source : {
1776
+ name : ' LIMADMIN' ,
1777
+ type : ' FeatureCollection' ,
1778
+ features : [ ]
1781
1779
} ,
1782
- " type" : " fill" ,
1783
- " below" : " water" ,
1784
- " color" : " #ece2f0" ,
1785
- " opacity" : 0.8
1786
- } ]
1780
+ type : ' fill' ,
1781
+ below : ' water' ,
1782
+ color : ' #ece2f0' ,
1783
+ opacity : 0.8
1784
+ } ]
1787
1785
}
1788
1786
} )
1789
1787
. then ( function ( ) {
0 commit comments