1
0
mirror of https://github.com/mermaid-js/mermaid.git synced 2025-03-11 07:53:10 +08:00

21 lines
354 B
JavaScript

import { imgSnapshotTest } from '../../helpers/util';
describe('State diagram', () => {
it('should render a state with states in it', () => {
imgSnapshotTest(
`
stateDiagram
state PersonalizedCockpit {
Other
state Parent {
C
}
}
`,
{
logLevel: 0,
}
);
});
});