Skip to content

Commit

Permalink
mermaid-js#1146 Added jest test for dash line (dependecy) parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishjain0512 committed Jan 2, 2020
1 parent f54adb4 commit 1903537
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/diagrams/class/classDiagram.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,16 @@ describe('class diagram, ', function () {

parser.parse(str);
});
it('should handle dashed relation definition of different types and directions', function () {
const str =
'classDiagram\n' +
'Class11 <|.. Class12\n' +
'Class13 <.. Class14\n' +
'Class15 ..|> Class16\n' +
'Class17 ..> Class18\n' +
'Class19 .. Class20';
parser.parse(str);
});
});

describe('when fetching data from a classDiagram graph it', function () {
Expand Down

0 comments on commit 1903537

Please sign in to comment.