Skip to content

Commit 098b983

Browse files
committed
fix: fix histogram axis unit test
1 parent 700289c commit 098b983

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

__tests__/unit/plots/histogram/axis-spec.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,12 @@ describe('Histogram: axis', () => {
112112
expect(histogram.chart.options.axes.range).toEqual({
113113
nice: true,
114114
label: {
115-
autoHide: true,
115+
autoHide: {
116+
type: 'equidistance',
117+
cfg: {
118+
minGap: 6,
119+
},
120+
},
116121
autoRotate: false,
117122
},
118123
});

0 commit comments

Comments
 (0)