Skip to content

Commit 251a363

Browse files
committed
fix
1 parent 207ca58 commit 251a363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/x-scheduler-headless/src/utils/recurring-events/getRecurringEventOccurrencesForVisibleDays.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ describe('recurring-events/getRecurringEventOccurrencesForVisibleDays', () => {
580580

581581
// Only three occurrences, still belonging to Jan 10
582582
expect(result).to.have.length(3);
583-
expect(adapter.getDate(result[0].modelInBuiltInFormat!.start)).to.equal(10);
583+
expect(adapter.getDate(result[0].dataTimezone.start.value)).to.equal(10);
584584
});
585585

586586
it('preserves multi-day duration when converting occurrences to the display timezone', () => {

0 commit comments

Comments
 (0)