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