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 08e4fdf
Showing 1 changed file with 3 additions and 3 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 @@ -28,10 +28,10 @@ describe('<DateCalendar /> - localization', () => {
expect(screen.getByText('א')).toBeVisible();
});

it('should correctly switch between locale with week starting in Monday and week starting in Sunday', () => {
it.only('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 08e4fdf

Please sign in to comment.