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