diff --git a/packages/runtime-dom/__tests__/directives/vCloak.spec.ts b/packages/runtime-dom/__tests__/directives/vCloak.spec.ts index 61de3c76..813147cc 100644 --- a/packages/runtime-dom/__tests__/directives/vCloak.spec.ts +++ b/packages/runtime-dom/__tests__/directives/vCloak.spec.ts @@ -4,7 +4,9 @@ describe('vCloak', () => { test('should be removed after compile', () => { const root = document.createElement('div') root.setAttribute('v-cloak', '') - createApp({}).mount(root) + createApp({ + render() {} + }).mount(root) expect(root.hasAttribute('v-cloak')).toBe(false) }) })