Added visits highlightning capabilities to line chart

This commit is contained in:
Alejandro Celaya
2020-09-20 11:43:24 +02:00
parent 749c757cbd
commit 78d97a64aa
5 changed files with 59 additions and 12 deletions

View File

@@ -53,7 +53,7 @@ describe('<LineChartCard />', () => {
const wrapper = createWrapper();
const chart = wrapper.find(Line);
expect(chart.prop('options')).toEqual({
expect(chart.prop('options')).toEqual(expect.objectContaining({
maintainAspectRatio: false,
legend: { display: false },
scales: {
@@ -72,7 +72,7 @@ describe('<LineChartCard />', () => {
intersect: false,
axis: 'x',
}),
});
}));
});
it.each([