mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-31 14:16:42 +02:00
fixup! feat(pie): adding outer border, text position options
This commit is contained in:
@@ -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');
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user