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