mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-03 15:46:43 +02:00
Cleared sankey renderer
This commit is contained in:
14
cypress/integration/rendering/sankey.spec.js
Normal file
14
cypress/integration/rendering/sankey.spec.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import { imgSnapshotTest, renderGraph } from '../../helpers/util.js';
|
||||
|
||||
describe('Sankey Diagram', () => {
|
||||
it('should render a simple sankey diagram', () => {
|
||||
imgSnapshotTest(
|
||||
`
|
||||
sankey
|
||||
a -> 30 -> b
|
||||
`,
|
||||
{}
|
||||
);
|
||||
cy.get('svg');
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user