Debug of fonts in percy renderings

This commit is contained in:
Knut Sveidqvist
2020-08-16 13:01:45 +02:00
parent 450d4b5a0a
commit ba6d73fc17
13 changed files with 166 additions and 38 deletions

View File

@@ -46,4 +46,22 @@ describe('Flowchart v2', () => {
{ flowchart: { diagramPadding: 0 } }
);
});
it('Length of edges', () => {
imgSnapshotTest(
`flowchart TD
L1 --- L2
L2 --- C
M1 ---> C
R1 .-> R2
R2 <.-> C
C -->|Label 1| E1
C <-- Label 2 ---> E2
C ----> E3
C <-...-> E4
C ======> E5
`,
{ flowchart: { diagramPadding: 0 } }
);
});
});