-
Notifications
You must be signed in to change notification settings - Fork 278
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
it('works with expose', async () => {
const Component = defineComponent({
setup (props, { expose }) {
const val = ref('')
expose({
val
})
return () => h('div')
}
})
const wrapper = mount(Component)
})In VueWrapper.hasMultipleRoots, this.vm is the exposed object instead of the component instance.
Should be something like this but always returning i.proxy:
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working