diff --git a/packages/runtime-core/__tests__/hmr.spec.ts b/packages/runtime-core/__tests__/hmr.spec.ts index e2d08c1fb62..d0dcb1d6b92 100644 --- a/packages/runtime-core/__tests__/hmr.spec.ts +++ b/packages/runtime-core/__tests__/hmr.spec.ts @@ -267,8 +267,8 @@ describe('hot module replacement', () => { test('reload: avoid infinite recursion', async () => { const root = nodeOps.createElement('div') const childId = 'test-child-6930' - const unmountSpy = jest.fn() - const mountSpy = jest.fn() + const unmountSpy = vi.fn() + const mountSpy = vi.fn() const Child: ComponentOptions = { __hmrId: childId,