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