test(gantt.spec): add parser test for inclusive end dates

This commit is contained in:
Jason Würtz 2019-07-06 11:29:50 -03:00
parent 123fba5b07
commit 402d4bdee1

View File

@ -14,6 +14,12 @@ describe('when parsing a gantt diagram it', function () {
parser.parse(str)
})
it('should handle a dateFormat definition with inclusivity specified', function () {
const str = 'gantt\ndateFormat yyyy-mm-dd inclusive'
parser.parse(str)
})
it('should handle a title definition', function () {
const str = 'gantt\ndateFormat yyyy-mm-dd\ntitle Adding gantt diagram functionality to mermaid'