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
+2 -2
View File
@@ -21,14 +21,14 @@ describe('Users.vue', () => {
localVue,
router
})
expect(wrapper.isVueInstance()).toBe(true)
expect(wrapper.vm).toBeTruthy()
})
it('is Users', () => {
const wrapper = shallowMount(Users,{
localVue,
router
})
expect(wrapper.is(Users)).toBe(true)
expect(wrapper.findComponent(Users)).toBeTruthy()
})
test('renders correctly', () => {
const wrapper = shallowMount(Users, {