Vue JS 动态组件单元测试挂载组件失败

Rav*_*and 6 vue.js jestjs vue-test-utils

我正在使用运行良好的动态和异步组件。但是在使用Vue-test-util使用浅安装对其进行测试时。我收到如下警告 [Vue warn]: Failed to mount component: template or render function not defined.

<component v-bind:is="currentTabComponent"></component>

我的测试用例正在通过,但有上述警告。我如何测试具有动态组件的 vue 组件?任何人都可以请指教吗?