Skip to content

Commit

Permalink
Update packages/x-date-pickers/src/DateCalendar/tests/timezone.DateCa…
Browse files Browse the repository at this point in the history
…lendar.test.tsx

Signed-off-by: Lukas Tyla <llukas.tyla@gmail.com>
  • Loading branch information
LukasTy authored Oct 25, 2024
1 parent f4a8de1 commit 393ba4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('<DateCalendar /> - Timezone', () => {

// Check the `onChange` value (uses timezone prop)
const actualDate = onChange.lastCall.firstArg;
expect(adapter.getTimezone(actualDate)).to.equal(adapter.lib === 'dayjs' ? 'UTC' : 'system');
expect(adapter.getTimezone(actualDate)).to.equal('system');
expect(actualDate).toEqualDateTime(expectedDate);
});

Expand Down

0 comments on commit 393ba4c

Please sign in to comment.