test: update tests

This commit is contained in:
woothu
2020-07-16 12:31:55 +02:00
parent 7ee3b0f4db
commit a4a0b68f19
41 changed files with 77 additions and 81 deletions
@@ -11,10 +11,10 @@ describe('ButtonGroups.vue', () => {
expect(ButtonGroups.name).toBe('ButtonGroups')
})
it('is Vue instance', () => {
expect(wrapper.isVueInstance()).toBe(true)
expect(wrapper.vm).toBeTruthy()
})
it('is ButtonGroups', () => {
expect(wrapper.is(ButtonGroups)).toBe(true)
expect(wrapper.findComponent(ButtonGroups)).toBeTruthy()
})
test('renders correctly', () => {
expect(wrapper.element).toMatchSnapshot()