#945 Rendering of start & end node

This commit is contained in:
Knut Sveidqvist
2019-09-25 21:01:21 +02:00
parent 2306534248
commit fad76ad534
5 changed files with 480 additions and 75 deletions

View File

@@ -0,0 +1,16 @@
/* 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');
});
});