chore: 引入 vitest 覆盖率统计与棘轮阈值

This commit is contained in:
2026-08-27 22:25:59 +08:00
parent b96cad9683
commit 8c8924d652
3 changed files with 369 additions and 18 deletions
+2
View File
@@ -16,6 +16,7 @@
"type-check": "vue-tsc --build --force",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:e2e": "npx playwright test",
"test:e2e:ui": "playwright test --ui"
},
@@ -36,6 +37,7 @@
"@types/jsdom": "^28.0.3",
"@types/node": "^20.17.0",
"@vitejs/plugin-vue": "^5.1.4",
"@vitest/coverage-v8": "^2.1.9",
"@vue/test-utils": "^2.4.10",
"@vue/tsconfig": "^0.5.1",
"eslint": "^9.39.5",