Skip to content

Commit 5965bdf

Browse files
committed
Don't update after plot count in tests
1 parent 5e2aff5 commit 5965bdf

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/jasmine/tests/plot_api_react_test.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)