mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-12 02:23:49 +00:00
Added visits highlightning capabilities to line chart
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user