Skip to content

Commit 9f5e2a6

Browse files
committed
chore: fix test
1 parent 26a6554 commit 9f5e2a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/runtime-core/__tests__/hmr.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ describe('hot module replacement', () => {
267267
test('reload: avoid infinite recursion', async () => {
268268
const root = nodeOps.createElement('div')
269269
const childId = 'test-child-6930'
270-
const unmountSpy = jest.fn()
271-
const mountSpy = jest.fn()
270+
const unmountSpy = vi.fn()
271+
const mountSpy = vi.fn()
272272

273273
const Child: ComponentOptions = {
274274
__hmrId: childId,

0 commit comments

Comments
 (0)