fixup! feat(pie): adding outer border, text position options

This commit is contained in:
Billiam
2023-02-25 15:42:18 -06:00
parent a2855931d2
commit b079fb4710
6 changed files with 53 additions and 1 deletions

View File

@@ -91,4 +91,16 @@ describe('Pie Chart', () => {
expect(strokeWidth).to.eq(5);
});
});
it('should render a pie diagram when text-position is set', () => {
imgSnapshotTest(
`
pie
"Dogs": 50
"Cats": 25
`,
{ logLevel: 1, pie: { textPosition: 0.9 } }
);
cy.get('svg');
});
});