test: add demo destroy
parent
2f972821d4
commit
92f1fcd0ff
|
@ -22,6 +22,7 @@ export default function demoTest (component, options = {}) {
|
||||||
Vue.nextTick(() => {
|
Vue.nextTick(() => {
|
||||||
expect(wrapper.html()).toMatchSnapshot()
|
expect(wrapper.html()).toMatchSnapshot()
|
||||||
MockDate.reset()
|
MockDate.reset()
|
||||||
|
wrapper.destroy()
|
||||||
done()
|
done()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue