From 08e4fdfb4cbed4dbb159b6457a49000717e0487b Mon Sep 17 00:00:00 2001 From: delangle Date: Wed, 7 Aug 2024 09:36:46 +0200 Subject: [PATCH] Fix test --- .../DateCalendar/tests/localization.DateCalendar.test.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/x-date-pickers/src/DateCalendar/tests/localization.DateCalendar.test.tsx b/packages/x-date-pickers/src/DateCalendar/tests/localization.DateCalendar.test.tsx index 5faff1878d13f..79c043be9ac3b 100644 --- a/packages/x-date-pickers/src/DateCalendar/tests/localization.DateCalendar.test.tsx +++ b/packages/x-date-pickers/src/DateCalendar/tests/localization.DateCalendar.test.tsx @@ -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']; @@ -28,10 +28,10 @@ describe(' - 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( - + , );