mermaid/cypress/integration/rendering/stateDiagram.spec.js

17 lines
316 B
JavaScript
Raw Normal View History

2019-09-25 21:01:21 +02:00
/* eslint-env jest */
import { imgSnapshotTest } from '../../helpers/util';
describe('State diagram', () => {
it('should render a simple state diagrams', () => {
imgSnapshotTest(
`
stateDiagram
[*] --> State1
State1 --> [*]
`,
{ logLevel: 0 }
);
cy.get('svg');
});
});