fix(components): [tag] make stubbed Transition work in tests (#18928)

This commit is contained in:
Delyan Haralanov 2024-11-20 14:59:30 +02:00 committed by GitHub
parent 5d54ece420
commit 76a586d62e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,6 +75,9 @@ const handleClick = (event: MouseEvent) => {
const handleVNodeMounted = (vnode: VNode) => {
// @ts-ignore
vnode.component.subTree.component.bum = null
if (vnode?.component?.subTree?.component?.bum) {
// @ts-ignore
vnode.component.subTree.component.bum = null
}
}
</script>