Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Aug 7, 2024
1 parent d1b60dd commit 4156d6c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';
import { createPickerRenderer, AdapterName, availableAdapters } from 'test/utils/pickers';
import { he, fr } from 'date-fns/locale';
import 'dayjs/locale/he';
import 'moment/locale/he';
import 'dayjs/locale/fr';
import 'moment/locale/he';
import 'moment/locale/fr';

const ADAPTERS_TO_USE: AdapterName[] = ['date-fns', 'dayjs', 'luxon', 'moment'];
Expand All @@ -31,7 +31,7 @@ describe('<DateCalendar /> - localization', () => {
it('should correctly switch between locale with week starting in Monday and week starting in Sunday', () => {
const { setProps } = renderWithoutWrapper(
<LocalizationProvider dateAdapter={availableAdapters[adapterName]}>
<DateCalendar />
<DateCalendar reduceAnimations />
</LocalizationProvider>,
);

Expand Down

0 comments on commit 4156d6c

Please sign in to comment.