Skip to content

Commit 510fa26

Browse files
committed
lint
1 parent 2e5f8f9 commit 510fa26

File tree

1 file changed

+25
-27
lines changed

1 file changed

+25
-27
lines changed

test/jasmine/tests/mapbox_test.js

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -835,15 +835,15 @@ describe('mapbox plots', function() {
835835
return Plotly.react(gd, [{type: 'scattermapbox'}], {
836836
mapbox: {
837837
layers: [{
838-
"source": {
839-
"name": "LIMADMIN",
840-
"type": "FeatureCollection",
841-
"features": []
838+
source: {
839+
name: 'LIMADMIN',
840+
type: 'FeatureCollection',
841+
features: []
842842
},
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
847847
}]
848848
}
849849
});
@@ -1155,7 +1155,6 @@ describe('mapbox plots', function() {
11551155
}, LONG_TIMEOUT_INTERVAL);
11561156

11571157
it('@noCI @gl should respect scrollZoom config option', function(done) {
1158-
11591158
var relayoutCnt = 0;
11601159
var addOnGd = function() {
11611160
gd.on('plotly_relayout', function() { relayoutCnt++; });
@@ -1172,7 +1171,6 @@ describe('mapbox plots', function() {
11721171

11731172
var zoom = getMapInfo(gd).zoom;
11741173
expect(zoom).toBeCloseTo(1.234);
1175-
var zoom0 = zoom;
11761174

11771175
addOnGd();
11781176

@@ -1579,15 +1577,15 @@ describe('test mapbox trace/layout *below* interactions', function() {
15791577
mapbox: {
15801578
style: 'basic',
15811579
layers: [{
1582-
"source": {
1583-
"name": "LIMADMIN",
1584-
"type": "FeatureCollection",
1585-
"features": []
1580+
source: {
1581+
name: 'LIMADMIN',
1582+
type: 'FeatureCollection',
1583+
features: []
15861584
},
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
15911589
}]
15921590
}
15931591
})
@@ -1774,16 +1772,16 @@ describe('test mapbox trace/layout *below* interactions', function() {
17741772
mapbox: {
17751773
style: 'basic',
17761774
layers: [{
1777-
"source": {
1778-
"name": "LIMADMIN",
1779-
"type": "FeatureCollection",
1780-
"features": []
1775+
source: {
1776+
name: 'LIMADMIN',
1777+
type: 'FeatureCollection',
1778+
features: []
17811779
},
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+
}]
17871785
}
17881786
})
17891787
.then(function() {

0 commit comments

Comments
 (0)