mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 13:59:54 +02:00
#1146 Added jest test for dash line (dependecy) parsing
This commit is contained in:
@@ -310,6 +310,16 @@ describe('class diagram, ', function () {
|
|||||||
|
|
||||||
parser.parse(str);
|
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 () {
|
describe('when fetching data from a classDiagram graph it', function () {
|
||||||
|
Reference in New Issue
Block a user