blob: e4da10569f33eb3693e4b82efe221450f03a588c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import { shallowMount } from '@vue/test-utils';
import GroupItemName from '~/jira_connect/subscriptions/components/group_item_name.vue';
import { mockGroup1 } from '../mock_data';
describe('GroupItemName', () => {
let wrapper;
const createComponent = () => {
wrapper = shallowMount(GroupItemName, {
propsData: {
group: mockGroup1,
},
});
};
describe('template', () => {
it('matches the snapshot', () => {
createComponent();
expect(wrapper.element).toMatchSnapshot();
});
});
});
|