fix: vue-test-uitls destory should be destroy (#1654)
This commit is contained in:
parent
336ef0a456
commit
3e15c0d991
|
@ -25,7 +25,7 @@ const mount = (inputComponent: any, options: MountingOptions<any> = {}) => {
|
||||||
const wrapper = mount$(inputComponent, options)
|
const wrapper = mount$(inputComponent, options)
|
||||||
|
|
||||||
if (isVue2) {
|
if (isVue2) {
|
||||||
wrapper.unmount = (wrapper as any).destory
|
wrapper.unmount = (wrapper as any).destroy
|
||||||
}
|
}
|
||||||
|
|
||||||
return wrapper
|
return wrapper
|
||||||
|
|
Loading…
Reference in New Issue