diff --git a/packages/x-components/src/components/__tests__/base-dropdown.spec.ts b/packages/x-components/src/components/__tests__/base-dropdown.spec.ts index bac66c6d1f..264ff6831f 100644 --- a/packages/x-components/src/components/__tests__/base-dropdown.spec.ts +++ b/packages/x-components/src/components/__tests__/base-dropdown.spec.ts @@ -25,7 +25,7 @@ function renderDropdown({ data: () => ({ value: initialValue }) }, { - propsData: { items } + props: { items } } ); diff --git a/packages/x-components/src/components/__tests__/base-event-button.spec.ts b/packages/x-components/src/components/__tests__/base-event-button.spec.ts index 9e2f08d70e..65dbbac43c 100644 --- a/packages/x-components/src/components/__tests__/base-event-button.spec.ts +++ b/packages/x-components/src/components/__tests__/base-event-button.spec.ts @@ -12,9 +12,7 @@ function render(options: ComponentMountingOptions = {}) const wrapper = mount(BaseEventButton, { props: { events: {} }, slots: { default: stubSlot }, - global: { - plugins: [installNewXPlugin()] - }, + global: { plugins: [installNewXPlugin()] }, ...options }); diff --git a/packages/x-components/src/components/__tests__/base-keyboard-navigation.spec.ts b/packages/x-components/src/components/__tests__/base-keyboard-navigation.spec.ts index fbd947aa9a..466b9a7011 100644 --- a/packages/x-components/src/components/__tests__/base-keyboard-navigation.spec.ts +++ b/packages/x-components/src/components/__tests__/base-keyboard-navigation.spec.ts @@ -13,7 +13,7 @@ describe('testing keyboard navigation component', () => { ); mount(BaseKeyboardNavigation, { global: { plugins: [installNewXPlugin()] }, - propsData: { + props: { navigationHijacker: [ { xEvent: 'UserPressedArrowKey', @@ -40,7 +40,7 @@ describe('testing keyboard navigation component', () => { .mockReturnValue(undefined); const keyboardNavigation = mount(BaseKeyboardNavigation, { global: { plugins: [installNewXPlugin()] }, - propsData: { + props: { eventsForDirectionLimit: { ArrowUp: 'UserReachedEmpathizeTop' }