import { describe, it, expect } from 'vitest'; import { mount } from '@vue/test-utils'; import { createVuetify } from 'vuetify'; import ResponsiveTable from '../../resources/js/components/common/ResponsiveTable.vue'; function mountAt(width: number) { Object.defineProperty(window, 'innerWidth', { configurable: true, value: width }); window.dispatchEvent(new Event('resize')); const vuetify = createVuetify(); return mount(ResponsiveTable, { global: { plugins: [vuetify] }, props: { items: [{ id: 1, phone: '+7 900 000' }] }, slots: { table: '