#2055 Fix for how ids are set to notes

This commit is contained in:
Knut Sveidqvist
2021-05-09 11:12:22 +02:00
parent 4720ede442
commit e3164d8d44
3 changed files with 22 additions and 36 deletions

View File

@@ -385,6 +385,19 @@ stateDiagram-v2
}
);
});
it('v2 should handle multiple notes added to one state', () => {
imgSnapshotTest(
`
stateDiagram-v2
MyState
note left of MyState : I am a leftie
note right of MyState : I am a rightie
`,
{
logLevel: 0, fontFamily: 'courier',
}
);
});
it('v2 handle transition from one state in a composite state to a composite state', () => {
imgSnapshotTest(
`