Open
Description
Steps to reproduce
import { createLocalVue, mount } from '@vue/test-utils'
import VueCompositionAPI, { defineComponent} from '@vue/composition-api'
it.only('what', async () => {
const localVue = createLocalVue()
localVue.use(VueCompositionAPI)
let n = 0
const Component = defineComponent({
render: (h) => h('p'),
setup() {
console.log('setup', n++)
},
})
mount(Component, { localVue })
})
Expected behaviour
One log
Actual behaviour
logs twice and increments n twice