I\'m writing a unit test with jest, for my composition API component in vue.js.
But I can\'t access to functions in composition API\'s setup().
Indicator
I think simply importing CompositionApi should solve your issue.
CompositionApi
import CompositionApi from '@vue/composition-api' Vue.use(CompositionApi)