UNPKG

@cnamts/vue-dot

Version:

Implementation of our Design System for the French Health Insurance

22 lines (16 loc) 449 B
import Vue from 'vue'; import { Wrapper } from '@vue/test-utils'; import { mountComponent } from '@/tests'; import HeaderNavigationBar from '../'; import { ThemeEnum } from '../../ThemeEnum'; let wrapper: Wrapper<Vue>; describe('HeaderNavigationBar', () => { it('renders correctly', () => { wrapper = mountComponent(HeaderNavigationBar, { propsData: { theme: ThemeEnum.DEFAULT } }); expect(wrapper).toMatchSnapshot(); }); });