UNPKG

@cnamts/vue-dot

Version:

Implementation of our Design System for the French Health Insurance

21 lines (15 loc) 401 B
import Vue from 'vue'; import { Wrapper } from '@vue/test-utils'; import { mountComponent } from '@/tests'; import StarsPicker from '../'; let wrapper: Wrapper<Vue>; describe('StarsPicker', () => { it('renders correctly', () => { wrapper = mountComponent(StarsPicker,{ propsData: { label: 'Pourriez-vous donner une note ?' } }, true); expect(wrapper).toMatchSnapshot(); }); });