Fix unit test
This commit is contained in:
parent
a70b3a881d
commit
2f8c571a5c
|
@ -54,7 +54,7 @@ describe('when using the ganttDb', function () {
|
||||||
${'getExcludes'} | ${[]}
|
${'getExcludes'} | ${[]}
|
||||||
${'getSections'} | ${[]}
|
${'getSections'} | ${[]}
|
||||||
${'endDatesAreInclusive'} | ${false}
|
${'endDatesAreInclusive'} | ${false}
|
||||||
${'enabledCompact'} | ${false}
|
${'compactEnabled'} | ${false}
|
||||||
`)('should clear $fn', ({ fn, expected }) => {
|
`)('should clear $fn', ({ fn, expected }) => {
|
||||||
expect(ganttDb[fn]()).toEqual(expected);
|
expect(ganttDb[fn]()).toEqual(expected);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue