Skip to content

Commit baeb1bc

Browse files
committed
update modebar tests with modeBarStyle in layout instead of config
1 parent 397a6de commit baeb1bc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/jasmine/tests/modebar_test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,17 @@ describe('ModeBar', function() {
3232
dragmode: 'zoom',
3333
_paperdiv: d3.select(getMockContainerTree()),
3434
_has: Plots._hasPlotType,
35-
_subplots: {xaxis: xaxes || [], yaxis: yaxes || []}
35+
_subplots: {xaxis: xaxes || [], yaxis: yaxes || []},
36+
modeBarStyle: {
37+
orientation: 'h',
38+
bgcolor: 'rgba(255,255,255,0.7)',
39+
iconColor: 'rgba(0, 31, 95, 0.3)'
40+
}
3641
},
3742
_fullData: [],
3843
_context: {
3944
displaylogo: true,
4045
displayModeBar: true,
41-
modeBarStyle: {
42-
orientation: 'h',
43-
bgcolor: 'rgba(255,255,255,0.7)',
44-
iconColor: 'rgba(0, 31, 95, 0.3)'
45-
},
4646
modeBarButtonsToRemove: [],
4747
modeBarButtonsToAdd: [],
4848
locale: 'en',

0 commit comments

Comments
 (0)