mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
test(gantt.spec): add parser test for inclusive end dates
This commit is contained in:
parent
123fba5b07
commit
402d4bdee1
@ -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'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user