fix: Class label not visible if class is already defined

This commit is contained in:
Sidharth Vinod
2023-02-24 13:46:56 +05:30
parent 716a4d2cbc
commit b13707fa7b
4 changed files with 26 additions and 9 deletions

View File

@@ -539,4 +539,13 @@ class C13["With Città foreign language"]
`
);
});
it('should render classLabel if class has already been defined earlier', () => {
imgSnapshotTest(
`classDiagram
Animal <|-- Duck
class Duck["Duck with text label"]
`
);
});
});