mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 05:49:43 +02:00
Ensure consistent naming between documentation and code, also removed unnecessary function
This commit is contained in:
@@ -650,12 +650,12 @@ class Class10
|
||||
{ logLevel: 1, htmlLabels: true, layout: 'elk' }
|
||||
);
|
||||
});
|
||||
it('ELK: should render a class with a text label, members and annotation', () => {
|
||||
it('ELK: should render a class with a text label, attribute and annotation', () => {
|
||||
imgSnapshotTest(
|
||||
`classDiagram
|
||||
class C1["Class 1 with text label"] {
|
||||
<<interface>>
|
||||
+member1
|
||||
+attribute1
|
||||
}
|
||||
C1 --> C2`,
|
||||
{ logLevel: 1, htmlLabels: true, layout: 'elk' }
|
||||
|
@@ -650,12 +650,12 @@ class Class10
|
||||
{ logLevel: 1, htmlLabels: true, look: 'handDrawn' }
|
||||
);
|
||||
});
|
||||
it('HD: should render a class with a text label, members and annotation', () => {
|
||||
it('HD: should render a class with a text label, attribute and annotation', () => {
|
||||
imgSnapshotTest(
|
||||
`classDiagram
|
||||
class C1["Class 1 with text label"] {
|
||||
<<interface>>
|
||||
+member1
|
||||
+attribute1
|
||||
}
|
||||
C1 --> C2`,
|
||||
{ logLevel: 1, htmlLabels: true, look: 'handDrawn' }
|
||||
|
@@ -500,12 +500,12 @@ class Class10
|
||||
C1 --> C2`
|
||||
);
|
||||
});
|
||||
it('should render a class with a text label, members and annotation', () => {
|
||||
it('should render a class with a text label, attribute and annotation', () => {
|
||||
imgSnapshotTest(
|
||||
`classDiagram
|
||||
class C1["Class 1 with text label"] {
|
||||
<<interface>>
|
||||
+member1
|
||||
+attribute1
|
||||
}
|
||||
C1 --> C2`
|
||||
);
|
||||
|
@@ -647,12 +647,12 @@ class Class10
|
||||
C1 --> C2`
|
||||
);
|
||||
});
|
||||
it('should render a class with a text label, members and annotation', () => {
|
||||
it('should render a class with a text label, attribute and annotation', () => {
|
||||
imgSnapshotTest(
|
||||
`classDiagram
|
||||
class C1["Class 1 with text label"] {
|
||||
<<interface>>
|
||||
+member1
|
||||
+attribute1
|
||||
}
|
||||
C1 --> C2`
|
||||
);
|
||||
|
@@ -430,7 +430,7 @@ describe('Class diagram', () => {
|
||||
class \`This\nTitle\nHas\nMany\nNewlines\` {
|
||||
+String Also
|
||||
-Stirng Many
|
||||
#int Members
|
||||
#int attribute
|
||||
+And()
|
||||
-Many()
|
||||
#Methods()
|
||||
@@ -444,7 +444,7 @@ describe('Class diagram', () => {
|
||||
class \`This\nTitle\nHas\nMany\nNewlines\` {
|
||||
+String Also
|
||||
-Stirng Many
|
||||
#int Members
|
||||
#int attribute
|
||||
+And()
|
||||
-Many()
|
||||
#Methods()
|
||||
@@ -460,7 +460,7 @@ describe('Class diagram', () => {
|
||||
class \`This\nTitle\nHas\nMany\nNewlines\` {
|
||||
+String Also
|
||||
-Stirng Many
|
||||
#int Members
|
||||
#int attribute
|
||||
+And()
|
||||
-Many()
|
||||
#Methods()
|
||||
|
Reference in New Issue
Block a user