mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-21 06:53:17 +08:00
21 lines
356 B
JavaScript
21 lines
356 B
JavaScript
import { imgSnapshotTest } from '../../helpers/util';
|
|
|
|
describe('Current diagram', () => {
|
|
it('should render a state with states in it', () => {
|
|
imgSnapshotTest(
|
|
`
|
|
stateDiagram
|
|
state PersonalizedCockpit {
|
|
Other
|
|
state Parent {
|
|
C
|
|
}
|
|
}
|
|
`,
|
|
{
|
|
logLevel: 0,
|
|
}
|
|
);
|
|
});
|
|
});
|