diff --git a/tests/shared/demoTest.js b/tests/shared/demoTest.js index 58496a86f..e3ad50b94 100644 --- a/tests/shared/demoTest.js +++ b/tests/shared/demoTest.js @@ -22,6 +22,7 @@ export default function demoTest (component, options = {}) { Vue.nextTick(() => { expect(wrapper.html()).toMatchSnapshot() MockDate.reset() + wrapper.destroy() done() }) })