test(runtime-vapor): pass raw props

This commit is contained in:
三咲智子 Kevin Deng 2024-02-04 22:51:08 +08:00
parent ed954bcd33
commit 920b36490e
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,9 @@ import {
let removeComponentInstance = NOOP
beforeEach(() => {
const reset = setCurrentInstance(createComponentInstance((() => {}) as any))
const reset = setCurrentInstance(
createComponentInstance((() => {}) as any, {}),
)
removeComponentInstance = () => {
reset()
removeComponentInstance = NOOP