Skip to content

Commit f0a8bfd

Browse files
committed
chore: fix test
1 parent 0196e1a commit f0a8bfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/runtime-vapor/__tests__/dom/prop.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ import {
1111
} from '../../src/dom/prop'
1212
import { setStyle } from '../../src/dom/style'
1313
import {
14-
createComponentInstance,
14+
ComponentInternalInstance,
1515
setCurrentInstance,
1616
} from '../../src/component'
1717
import { getMetadata, recordPropMetadata } from '../../src/componentMetadata'
1818
import { getCurrentScope } from '@vue/reactivity'
1919

2020
let removeComponentInstance = NOOP
2121
beforeEach(() => {
22-
const instance = createComponentInstance((() => {}) as any, {}, null)
22+
const instance = new ComponentInternalInstance((() => {}) as any, {}, null)
2323
const reset = setCurrentInstance(instance)
2424
const prev = getCurrentScope()
2525
instance.scope.on()

0 commit comments

Comments
 (0)