Skip to content

Commit e04be26

Browse files
committed
fix: fix test
1 parent 85f321e commit e04be26

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/devextreme/js/__internal/scheduler/__tests__/workspace.base.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ describe('scheduler workspace skipped days support', () => {
217217
});
218218

219219
expect(workspace.getStartViewDate()).toEqual(new Date(2026, 2, 29));
220-
expect(workspace.generateRenderOptions().cellCount).toBe(7);
220+
expect((workspace as any).getCellCount()).toBe(7);
221221
});
222222

223223
it('should use custom skippedDays in work week runtime layout', () => {
@@ -228,7 +228,7 @@ describe('scheduler workspace skipped days support', () => {
228228
});
229229

230230
expect(workspace.getStartViewDate()).toEqual(new Date(2026, 2, 29));
231-
expect(workspace.generateRenderOptions().cellCount).toBe(6);
231+
expect((workspace as any).getCellCount()).toBe(6);
232232
});
233233

234234
it('should skip configured hidden days when incrementing timeline header dates', () => {

0 commit comments

Comments
 (0)