mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 15:30:03 +02:00
test(gantt.spec): add parser test for inclusive end dates
This commit is contained in:
@@ -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'
|
||||
|
||||
|
Reference in New Issue
Block a user