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 daf6102 commit 535711a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/runtime-core/__tests__/hmr.spec.ts
Expand Up @@ -223,10 +223,10 @@ describe('hot module replacement', () => {
test('reload KeepAlive slot in Transition', async () => {
const root = nodeOps.createElement('div')
const childId = 'test-transition-keep-alive-reload'
const unmountSpy = jest.fn()
const mountSpy = jest.fn()
const activeSpy = jest.fn()
const deactiveSpy = jest.fn()
const unmountSpy = vi.fn()
const mountSpy = vi.fn()
const activeSpy = vi.fn()
const deactiveSpy = vi.fn()

const Child: ComponentOptions = {
__hmrId: childId,
Expand Down

0 comments on commit 535711a

Please sign in to comment.