test: update tests
This commit is contained in:
@@ -11,11 +11,11 @@ describe('Register.vue', () => {
|
||||
})
|
||||
it('is Vue instance', () => {
|
||||
const wrapper = shallowMount(Register)
|
||||
expect(wrapper.isVueInstance()).toBe(true)
|
||||
expect(wrapper.vm).toBeTruthy()
|
||||
})
|
||||
it('is Register', () => {
|
||||
const wrapper = shallowMount(Register)
|
||||
expect(wrapper.is(Register)).toBe(true)
|
||||
expect(wrapper.findComponent(Register)).toBeTruthy()
|
||||
})
|
||||
it('should render correct content', () => {
|
||||
const wrapper = shallowMount(Register)
|
||||
|
||||
Reference in New Issue
Block a user