Skip to content

Commit

Permalink
fix: 修复单测
Browse files Browse the repository at this point in the history
  • Loading branch information
visiky committed Jan 11, 2021
1 parent 02d6f7c commit 79d9a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/unit/plots/histogram/change-data-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('Histogram: change data', () => {
histogram.changeData(histogramData);
expect(histogram.chart.getData().length).toBe(12);
expect(histogram.options.data).toEqual(histogramData);
expect(histogram.chart.geometries[0].elements.length).toBe(histogramData.length);
expect(histogram.chart.geometries[0].elements.length).toBe(12);

histogram.destroy();
});
Expand Down

0 comments on commit 79d9a36

Please sign in to comment.