Closed myan9527 closed 9 months ago
Testing should be no different from other components. I don't think we have anything special to add.
确实有所不同,mount VChart组件都不能正确被渲染。 还是要考虑一下常见单元测试工具的集成吧,毕竟还是有人会关注的。
Sounds more like a bug with your testing library as it should support mounting any valid Vue component.
Confirmation
Details
I'm unit testing vue-echart with version 6.5.4, and my test code as following:
Error occurs running this test case:
More detail:
<v-chart option=""/>
insideMyComp
Could you please provide some helpful tutorial about this?