Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhonghe committed Apr 24, 2023
1 parent 26a6554 commit 9f5e2a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/runtime-core/__tests__/hmr.spec.ts
Expand Up @@ -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,
Expand Down

0 comments on commit 9f5e2a6

Please sign in to comment.