mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
15 lines
277 B
JavaScript
15 lines
277 B
JavaScript
|
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');
|
||
|
});
|
||
|
});
|