mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
test(ganttDb.spec): fix missing initialization for clear test
This commit is contained in:
parent
67bb5ffa73
commit
b7c4b66b61
@ -10,6 +10,7 @@ describe('when using the ganttDb', function () {
|
||||
describe('when calling the clear function', function () {
|
||||
beforeEach(function () {
|
||||
ganttDb.setDateFormat('YYYY-MM-DD')
|
||||
ganttDb.enableInclusiveEndDates()
|
||||
ganttDb.setExcludes('weekends 2019-02-06,friday')
|
||||
ganttDb.addSection('weekends skip test')
|
||||
ganttDb.addTask('test1', 'id1,2019-02-01,1d')
|
||||
|
Loading…
x
Reference in New Issue
Block a user