mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-27 08:54:09 +01:00
feat: support multiple stereotypes in class diagrams
This commit is contained in:
@@ -510,6 +510,16 @@ class Class10
|
||||
C1 --> C2`
|
||||
);
|
||||
});
|
||||
it('should render a class with a text label, members and multiple annotations', () => {
|
||||
imgSnapshotTest(
|
||||
`classDiagram
|
||||
class C1["Class 1 with text label"] {
|
||||
<<interface>> <<injected>>
|
||||
+member1
|
||||
}
|
||||
C1 --> C2`
|
||||
);
|
||||
});
|
||||
it('should render multiple classes with same text labels', () => {
|
||||
imgSnapshotTest(
|
||||
`classDiagram
|
||||
|
||||
Reference in New Issue
Block a user