mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
Finish unfinished test case
This commit is contained in:
@@ -178,13 +178,10 @@ describe('use-model-toggle', () => {
|
||||
await wrapper.find('.show').trigger('click')
|
||||
|
||||
expect(wrapper.text()).toContain(AXIOM)
|
||||
|
||||
expect(onHide).toHaveBeenCalledTimes(0)
|
||||
router.test = '/test/changed'
|
||||
await nextTick()
|
||||
|
||||
console.log(wrapper.vm.$route)
|
||||
|
||||
|
||||
expect(onHide).toHaveBeenCalledTimes(1)
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user