@cnamts/vue-dot
Version:
Implementation of our Design System for the French Health Insurance
22 lines (16 loc) • 381 B
text/typescript
import Vue from 'vue';
import { Wrapper } from '@vue/test-utils';
import { mountComponent } from '@/tests';
import CopyBtn from '../';
let wrapper: Wrapper<Vue>;
describe('CopyBtn', () => {
it('renders correctly', () => {
wrapper = mountComponent(CopyBtn, {
propsData: {
label: 'test',
textToCopy: 'test'
}
});
expect(wrapper).toMatchSnapshot();
});
});