chore: 为多个package.json添加test:unit脚本并更新全局测试命令

在多个库和插件的package.json中添加统一的test:unit脚本
同时在根package.json中添加全局test:unit命令以并行运行所有子项目的单元测试
This commit is contained in:
xiaojunnuo
2026-05-01 09:25:53 +08:00
parent 0a0f1e90e1
commit 7c1d92ff4b
9 changed files with 12 additions and 3 deletions
+2 -1
View File
@@ -12,7 +12,8 @@
"debug:force": "vite --force --mode debug",
"build": "cross-env NODE_OPTIONS=--max-old-space-size=40960 vite build ",
"dev-build": "echo 1",
"test:unit": "vitest",
"test:unit": "echo no unit tests",
"test:vue": "vitest run",
"serve": "vite preview",
"preview": "vite preview",
"pretty-quick": "pretty-quick",