Skip to content

Commit dd907ab

Browse files
committed
test: add demo destroy
1 parent 34230dd commit dd907ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/shared/demoTest.js

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export default function demoTest (component, options = {}) {
2222
Vue.nextTick(() => {
2323
expect(wrapper.html()).toMatchSnapshot()
2424
MockDate.reset()
25+
wrapper.destroy()
2526
done()
2627
})
2728
})

0 commit comments

Comments
 (0)