| 1 | import { imgSnapshotTest } from '../../helpers/util.ts'; |
| 2 | |
| 3 | describe('Current diagram', () => { |
| 4 | it('should render a state with states in it', () => { |
| 5 | imgSnapshotTest( |
| 6 | ` |
| 7 | stateDiagram |
| 8 | state PersonalizedCockpit { |
| 9 | Other |
| 10 | state Parent { |
| 11 | C |
| 12 | } |
| 13 | } |
| 14 | `, |
| 15 | { |
| 16 | logLevel: 0, |
| 17 | } |
| 18 | ); |
| 19 | }); |
| 20 | }); |
| 21 |