File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -418,8 +418,6 @@ describe('@noCIdep Plotly.react', function() {
418418 expect ( d3SelectAll ( '.drag' ) . size ( ) ) . toBe ( 11 ) ;
419419 expect ( d3SelectAll ( '.gtitle' ) . text ( ) ) . toBe ( 'Click to enter Plot title' ) ;
420420 expect ( d3SelectAll ( '.gtitle-subtitle' ) . text ( ) ) . toBe ( 'Click to enter Plot subtitle' ) ;
421-
422- afterPlotCnt ++ ; // since it uses newPlot pathway as a result of config change
423421 countCalls ( { plot : 1 } ) ;
424422
425423 return Plotly . react ( gd , data , layout , { staticPlot : true } ) ;
@@ -428,8 +426,6 @@ describe('@noCIdep Plotly.react', function() {
428426 expect ( d3SelectAll ( '.drag' ) . size ( ) ) . toBe ( 0 ) ;
429427 expect ( d3SelectAll ( '.gtitle' ) . size ( ) ) . toBe ( 0 ) ;
430428 expect ( d3SelectAll ( '.gtitle-subtitle' ) . size ( ) ) . toBe ( 0 ) ;
431-
432- afterPlotCnt ++ ; // since it uses newPlot pathway as a result of config change
433429 countCalls ( { plot : 1 } ) ;
434430
435431 return Plotly . react ( gd , data , layout , { } ) ;
@@ -438,8 +434,6 @@ describe('@noCIdep Plotly.react', function() {
438434 expect ( d3SelectAll ( '.drag' ) . size ( ) ) . toBe ( 11 ) ;
439435 expect ( d3SelectAll ( '.gtitle' ) . size ( ) ) . toBe ( 0 ) ;
440436 expect ( d3SelectAll ( '.gtitle-subtitle' ) . size ( ) ) . toBe ( 0 ) ;
441-
442- afterPlotCnt ++ ; // since it uses newPlot pathway as a result of config change
443437 countCalls ( { plot : 1 } ) ;
444438 } )
445439 . then ( done , done . fail ) ;
You can’t perform that action at this time.
0 commit comments