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

22 lines
376 B
JavaScript
Raw Normal View History

2019-10-27 15:24:56 +01:00
/* eslint-env jest */
import { imgSnapshotTest } from '../../helpers/util';
describe('State diagram', () => {
it('should render a state with states in it', () => {
2019-10-27 15:24:56 +01:00
imgSnapshotTest(
`
stateDiagram
state PersonalizedCockpit {
Other
state Parent {
C
}
}
`,
{
logLevel: 0,
}
2019-10-27 15:24:56 +01:00
);
});
});