UNPKG

@cnamts/vue-dot

Version:

Implementation of our Design System for the French Health Insurance

25 lines (18 loc) 507 B
import Vue from 'vue'; import { Wrapper } from '@vue/test-utils'; import { mountComponent } from '@/tests'; import ErrorPage from '../'; import PageContainer from '../../../elements/PageContainer'; Vue.component('PageContainer', PageContainer); let wrapper: Wrapper<Vue>; describe('ErrorPage', () => { it('renders correctly', () => { wrapper = mountComponent(ErrorPage, { propsData: { pageTitle: 'Error', message: 'Error message' } }); expect(wrapper).toMatchSnapshot(); }); });