UNPKG

vuetify

Version:

Vue Material Component Framework

29 lines (23 loc) 553 B
// Components import VContainer from '../VContainer' // Utilities import { mount, MountOptions, Wrapper, } from '@vue/test-utils' describe('VContainer.ts', () => { type Instance = InstanceType<typeof VContainer> let mountFunction: (options?: MountOptions<Instance>) => Wrapper<Instance> beforeEach(() => { mountFunction = (options = {}) => { return mount(VContainer, { ...options, }) } }) it('should work', () => { const wrapper = mountFunction() expect(wrapper.html()).toMatchSnapshot() }) })