chore(quality): 基准扩展第 5 维度 — 前端 vitest(全绿后纳入防回归)

This commit is contained in:
ryan
2026-08-16 19:09:58 +08:00
parent f5c9da03f4
commit ab0e5fecf2
2 changed files with 14 additions and 1 deletions
+4
View File
@@ -54,6 +54,10 @@ counts test-file quality. DELIBERATELY excludes paralleltest/tparallel
(t.Parallel advice is unsafe here: many suites share DB/redis state and tests
cannot be run in this env) and gocritic extras (noise). Fix test issues only
when compile-safe (go vet compiles tests) and semantically neutral.
Frontend vitest dimension (added run #19, after suite went green in run #18):
`pnpm exec vitest run --reporter=dot` — `vitest_failed` counts into total.
The suite is fully runnable locally (jsdom + mocks; no external services).
Do not add/remove linters or change settings to make the number go down.
## Files in Scope