tiny-vue
tiny-vue copied to clipboard
🐛 [Bug]: vitest单元测试报错:报导入fluent-editor和getAttribute函数错误。
Version
3.25.0
Vue Version
3.5.13
Link to minimal reproduction
vitest单元测试报错:报导入fluent-editor和getAttribute函数错误。
Step to reproduce
如何复现:用vitest执行简单的对tiny-vue组件的单元测试。
What is expected
期望修复结果:不需要用户手动修改node_modules库的代码。
What is actually happening
vitest单元测试报错:报导入fluent-editor和getAttribute函数错误。 目前单元测试成功方式:手动把@opentiny/vue的fluent-editor组件的导入全部删掉,以及@opentiny/vue-mind-map/lib/pc.js:341行的.getAttribute前需加'?'。
What is your project name
yuanrong
Any additional comments (optional)
No response