Skip to content

Commit

Permalink
add: e2e test for classDiagram-v3
Browse files Browse the repository at this point in the history
  • Loading branch information
kairi003 committed Nov 10, 2024
1 parent 25c43fa commit 70f679d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cypress/integration/rendering/classDiagram-v3.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,20 @@ class C13["With Città foreign language"]
`
);
});
it('should add notes in namespaces', function () {
imgSnapshotTest(
`
classDiagram
note "This is a outer note"
note for C1 "This is a outer note for C1"
namespace Namespace1 {
note "This is a inner note"
note for C1 "This is a inner note for C1"
class C1
}
`
);
});
it('should render a simple class diagram with no members', () => {
imgSnapshotTest(
`
Expand Down

0 comments on commit 70f679d

Please sign in to comment.