#1696 Fix for custom cssClass test cases for classDiagram

This commit is contained in:
Ashish Jain 2020-09-23 20:16:06 +02:00
parent c04dac65ac
commit 93bf8d7414
2 changed files with 6 additions and 3 deletions

View File

@ -334,7 +334,7 @@ describe('Class diagram V2', () => {
testArray() bool[]
}
cssClass "Class10" exClass
cssClass "Class10" exClass2
`,
{logLevel : 1, flowchart: { "htmlLabels": false },}
);
@ -345,7 +345,7 @@ describe('Class diagram V2', () => {
imgSnapshotTest(
`
classDiagram-v2
class Class10:::exClass {
class Class10:::exClass2 {
int[] id
List~int~ ids
test(List~int~ ids) List~bool~
@ -364,7 +364,7 @@ describe('Class diagram V2', () => {
class Class10
class Class20
cssClass "Class10, class20" exClass
cssClass "Class10, class20" exClass2
`,
{logLevel : 1, flowchart: { "htmlLabels": false },}
);

View File

@ -27,6 +27,9 @@
svg {
border: 2px solid darkred;
}
.exClass2 > rect, .exClass {
fill: greenyellow !important;
}
</style>
</head>
<body>