jest 单元测试vue项目中引入的mintui组件报错
给vue项目用jest写单元测试用例,项目中引入了mintui的相关组件,但是报找不到那些组件
console.error node_modules\vue\dist\vue.runtime.common.js:589
[Vue warn]: Unknown custom element: <router-view> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
found in
---> <Kuandai>
<MtTabContainerItem>
<MtTabContainer>
<Anonymous>
<Root>
console.error node_modules\vue\dist\vue.runtime.common.js:589
[Vue warn]: Unknown custom element: <mt-button> - did you register the component correctly? For recursive components, make sure to provide the "name" option.