Skip to content

Commit 5c8364d

Browse files
committed
Update expected number of buttons in modebar tests
1 parent afe8fda commit 5c8364d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

test/jasmine/tests/modebar_test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1679,7 +1679,7 @@ describe('ModeBar', function() {
16791679
return d3Select(modeBarEl).selectAll('button.modebar-btn, a.modebar-btn').size();
16801680
}
16811681

1682-
var initial = 10;
1682+
var initial = 11;
16831683
Plotly.newPlot(gd, [{y: [1, 2]}], {})
16841684
.then(function() {
16851685
expect(countButtons()).toBe(initial);
@@ -1764,7 +1764,7 @@ describe('ModeBar', function() {
17641764
return d3Select(modeBarEl).selectAll('button.modebar-btn, a.modebar-btn').size();
17651765
}
17661766

1767-
var initial = 10;
1767+
var initial = 11;
17681768
Plotly.newPlot(gd, [{y: [1, 2]}], {})
17691769
.then(function() {
17701770
expect(countButtons()).toBe(initial);
@@ -1813,7 +1813,7 @@ describe('ModeBar', function() {
18131813
return d3Select(modeBarEl).selectAll('a.modebar-btn').size();
18141814
}
18151815

1816-
var initial = 10;
1816+
var initial = 11;
18171817
Plotly.newPlot(gd, [{y: [1, 2]}], {
18181818
template: {
18191819
layout: {
@@ -1845,7 +1845,7 @@ describe('ModeBar', function() {
18451845
return d3Select(modeBarEl).selectAll('button.modebar-btn, a.modebar-btn').size();
18461846
}
18471847

1848-
var initial = 10;
1848+
var initial = 11;
18491849
Plotly.newPlot(gd, [{y: [1, 2]}], {
18501850
template: {
18511851
layout: {
@@ -1868,7 +1868,7 @@ describe('ModeBar', function() {
18681868
return d3Select(modeBarEl).selectAll('button.modebar-btn, a.modebar-btn').size();
18691869
}
18701870

1871-
var initial = 10;
1871+
var initial = 11;
18721872
Plotly.newPlot(gd, [{y: [1, 2]}], {
18731873
modebar: {
18741874
remove: t
@@ -1889,7 +1889,7 @@ describe('ModeBar', function() {
18891889
return d3Select(modeBarEl).selectAll('button.modebar-btn, a.modebar-btn').size();
18901890
}
18911891

1892-
var initial = 10;
1892+
var initial = 11;
18931893
Plotly.newPlot(gd, [{y: [1, 2]}], {
18941894
modebar: {
18951895
add: 'drawline'

0 commit comments

Comments
 (0)