Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't update after plot count in tests
  • Loading branch information
camdecoster committed Sep 4, 2025
commit 5965bdf3606d1934ae719b1b6002bcf7aa0de7d7
6 changes: 0 additions & 6 deletions test/jasmine/tests/plot_api_react_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,6 @@ describe('@noCIdep Plotly.react', function() {
expect(d3SelectAll('.drag').size()).toBe(11);
expect(d3SelectAll('.gtitle').text()).toBe('Click to enter Plot title');
expect(d3SelectAll('.gtitle-subtitle').text()).toBe('Click to enter Plot subtitle');

afterPlotCnt++; // since it uses newPlot pathway as a result of config change
countCalls({plot: 1});

return Plotly.react(gd, data, layout, {staticPlot: true});
Expand All @@ -428,8 +426,6 @@ describe('@noCIdep Plotly.react', function() {
expect(d3SelectAll('.drag').size()).toBe(0);
expect(d3SelectAll('.gtitle').size()).toBe(0);
expect(d3SelectAll('.gtitle-subtitle').size()).toBe(0);

afterPlotCnt++; // since it uses newPlot pathway as a result of config change
countCalls({plot: 1});

return Plotly.react(gd, data, layout, {});
Expand All @@ -438,8 +434,6 @@ describe('@noCIdep Plotly.react', function() {
expect(d3SelectAll('.drag').size()).toBe(11);
expect(d3SelectAll('.gtitle').size()).toBe(0);
expect(d3SelectAll('.gtitle-subtitle').size()).toBe(0);

afterPlotCnt++; // since it uses newPlot pathway as a result of config change
countCalls({plot: 1});
})
.then(done, done.fail);
Expand Down