Skip to content

Commit 020c4ba

Browse files
committed
fix: fix histogram axis unit test
1 parent 098b983 commit 020c4ba

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

+6-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@ describe('histogram', () => {
3636
expect(histogram.chart.options.axes.range).toEqual({
3737
nice: true,
3838
label: {
39-
autoHide: true,
39+
autoHide: {
40+
type: 'equidistance',
41+
cfg: {
42+
minGap: 6,
43+
},
44+
},
4045
autoRotate: false,
4146
},
4247
});

0 commit comments

Comments
 (0)