Skip to content

Commit fcfb09b

Browse files
committed
fix mapbox scroolZoom test
1 parent 5733a95 commit fcfb09b

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

test/jasmine/tests/mapbox_test.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,9 +1147,7 @@ describe('mapbox plots', function() {
11471147
}, LONG_TIMEOUT_INTERVAL);
11481148

11491149
it('@noCI @gl should respect scrollZoom config option', function(done) {
1150-
var mockCopy2 = Lib.extendDeep({}, mock);
1151-
mockCopy2.config = {scrollZoom: false};
1152-
1150+
11531151
var relayoutCnt = 0;
11541152
var addOnGd = function() {
11551153
gd.on('plotly_relayout', function() { relayoutCnt++; });
@@ -1196,14 +1194,6 @@ describe('mapbox plots', function() {
11961194
var zoomNew = getMapInfo(gd).zoom;
11971195
expect(zoomNew).toBeGreaterThan(zoom);
11981196
})
1199-
.then(function() { return Plotly.newPlot(gd, mockCopy2); })
1200-
.then(addOnGd)
1201-
.then(_scroll)
1202-
.then(function() {
1203-
// see https://github.com/plotly/plotly.js/issues/3738
1204-
var zoomNew = getMapInfo(gd).zoom;
1205-
expect(zoomNew).toBe(zoom0);
1206-
})
12071197
.then(done, done.fail);
12081198
}, LONG_TIMEOUT_INTERVAL);
12091199

0 commit comments

Comments
 (0)