File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -1147,9 +1147,7 @@ describe('mapbox plots', function() {
1147
1147
} , LONG_TIMEOUT_INTERVAL ) ;
1148
1148
1149
1149
it ( '@noCI @gl should respect scrollZoom config option' , function ( done ) {
1150
- var mockCopy2 = Lib . extendDeep ( { } , mock ) ;
1151
- mockCopy2 . config = { scrollZoom : false } ;
1152
-
1150
+
1153
1151
var relayoutCnt = 0 ;
1154
1152
var addOnGd = function ( ) {
1155
1153
gd . on ( 'plotly_relayout' , function ( ) { relayoutCnt ++ ; } ) ;
@@ -1196,14 +1194,6 @@ describe('mapbox plots', function() {
1196
1194
var zoomNew = getMapInfo ( gd ) . zoom ;
1197
1195
expect ( zoomNew ) . toBeGreaterThan ( zoom ) ;
1198
1196
} )
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
- } )
1207
1197
. then ( done , done . fail ) ;
1208
1198
} , LONG_TIMEOUT_INTERVAL ) ;
1209
1199
You can’t perform that action at this time.
0 commit comments