// Components import VListItemGroup from '../VListItemGroup' // Utilities import { mount, Wrapper, } from '@vue/test-utils' describe('VListItemGroup.ts', () => { type Instance = InstanceType let mountFunction: (options?: object) => Wrapper beforeEach(() => { mountFunction = (options = {}) => { return mount(VListItemGroup, { ...options, }) } }) it('should have the correct role', () => { const wrapper = mountFunction() expect(wrapper.element.getAttribute('role')).toBe('listbox') }) })