UNPKG

@cnamts/vue-dot

Version:

Implementation of our Design System for the French Health Insurance

21 lines (15 loc) 376 B
import Vue from 'vue'; import { Wrapper } from '@vue/test-utils'; import { mountComponent } from '@/tests'; import LangBtn from '../'; let wrapper: Wrapper<Vue>; describe('LangBtn', () => { it('renders correctly', () => { wrapper = mountComponent(LangBtn, { propsData: { availableLanguages: ['fr', 'en'] } }); expect(wrapper).toMatchSnapshot(); }); });