21 lines
356 B
JavaScript
Raw Normal View History

2019-10-27 15:24:56 +01:00
import { imgSnapshotTest } from '../../helpers/util';
2022-12-08 14:16:25 +01:00
describe('Current 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
);
});
});