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