大家平时开发插件时是怎么做单元测试的? #6196
Unanswered
binbin1001
asked this question in
Q&A | 常见问题
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
背景
先说一下背景,我在用vite+swc编译前端项目,但swc不支持装饰器metadata。所以必须把自定义插件放到别的package里,但这样开发插件的时候由于脱离了前端项目就很难测试。
目的
最好是有一套成熟的插件测试开发流程,利用jest/vitest这些单测框架保证质量。我刚开始接触univer,请教各位大神
Beta Was this translation helpful? Give feedback.
All reactions