UNPKG

@cnamts/vue-dot

Version:

Implementation of our Design System for the French Health Insurance

27 lines (20 loc) 418 B
import Vue from 'vue'; import { Wrapper } from '@vue/test-utils'; import { mountComponent } from '@/tests'; import FileList from '../'; let wrapper: Wrapper<Vue>; const files = [{ id: '0', title: 'test', state: 'success' }]; describe('FileList', () => { it('renders correctly', () => { wrapper = mountComponent(FileList, { propsData: { files } }); expect(wrapper).toMatchSnapshot(); }); });