@cnamts/vue-dot
Version:
Implementation of our Design System for the French Health Insurance
26 lines (20 loc) • 489 B
text/typescript
import Vue from 'vue';
import { Wrapper } from '@vue/test-utils';
import { mountComponent } from '@/tests';
import EmotionPicker from '../';
let wrapper: Wrapper<Vue>;
describe('EmotionPicker', () => {
it('renders correctly', () => {
wrapper = mountComponent(EmotionPicker, {
propsData: {
label: 'Pourriez-vous donner une note ?',
itemLabels: [
'Pas du tout',
'Peut-être',
'Oui super'
]
}
}, true);
expect(wrapper).toMatchSnapshot();
});
});