Skip to content

Commit 535711a

Browse files
committed
chore: fix test
1 parent daf6102 commit 535711a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,10 @@ describe('hot module replacement', () => {
223223
test('reload KeepAlive slot in Transition', async () => {
224224
const root = nodeOps.createElement('div')
225225
const childId = 'test-transition-keep-alive-reload'
226-
const unmountSpy = jest.fn()
227-
const mountSpy = jest.fn()
228-
const activeSpy = jest.fn()
229-
const deactiveSpy = jest.fn()
226+
const unmountSpy = vi.fn()
227+
const mountSpy = vi.fn()
228+
const activeSpy = vi.fn()
229+
const deactiveSpy = vi.fn()
230230

231231
const Child: ComponentOptions = {
232232
__hmrId: childId,

0 commit comments

Comments
 (0)