@cnamts/vue-dot
Version:
Implementation of our Design System for the French Health Insurance
21 lines (15 loc) • 386 B
text/typescript
import Vue from 'vue';
import { Wrapper } from '@vue/test-utils';
import { mountComponent } from '@/tests';
import UserMenuBtn from '../';
let wrapper: Wrapper<Vue>;
describe('UserMenuBtn', () => {
it('renders correctly', () => {
wrapper = mountComponent(UserMenuBtn, {
propsData: {
fullName: 'Firstname Lastname'
}
});
expect(wrapper).toMatchSnapshot();
});
});