diff --git a/tests/expose.spec.ts b/tests/expose.spec.ts index 38f0991c17..a798225202 100644 --- a/tests/expose.spec.ts +++ b/tests/expose.spec.ts @@ -28,7 +28,7 @@ describe('expose', () => { expect(wrapper.vm.other).toBe('other') // can't access `msg` as it is not exposed // and we are in a component with a setup returning a render function - expect(wrapper.vm.msg).toBeUndefined() + expect((wrapper.vm as unknown as { msg: undefined }).msg).toBeUndefined() }) it('access vm with