#552 Adding rendering test

This commit is contained in:
Knut Sveidqvist
2019-12-11 21:12:48 +01:00
parent aa2f9622f8
commit fcf20215a6
2 changed files with 31 additions and 8 deletions

View File

@@ -38,4 +38,20 @@ describe('Sequencediagram', () => {
{}
);
});
it('Multiple dependencies syntax', () => {
imgSnapshotTest(
`
gantt
dateFormat YYYY-MM-DD
axisFormat %d/%m
title Adding GANTT diagram to mermaid
excludes weekdays 2014-01-10
apple :a, 2017-07-20, 1w
banana :crit, b, 2017-07-23, 1d
cherry :active, c, after b a, 1d
`,
{}
);
});
});