fixed incorrect spacing, added e2e-test

This commit is contained in:
OG-NI
2024-06-01 21:48:34 +02:00
parent d6ccd93cf2
commit 46fe731379
2 changed files with 13 additions and 1 deletions

View File

@@ -319,4 +319,16 @@ describe('XY Chart', () => {
);
cy.get('svg');
});
it('should use the correct distances between data points', () => {
imgSnapshotTest(
`
xychart-beta
x-axis 0 --> 2
line [0, 1, 0, 1]
bar [1, 0, 1, 0]
`,
{}
);
cy.get('svg');
});
});