ci: add coverage tooling for frontend and backend

- Add @vitest/coverage-v8 for frontend test coverage
- Configure vitest with coverage thresholds (15% statements/lines, 13% branches/functions)
- Add npm scripts for backend testing and coverage with cargo-llvm-cov
- Add test:all and coverage:all scripts for unified test execution
- Exclude coverage directory from git tracking
This commit is contained in:
2026-01-25 22:48:01 -08:00
parent cd15247dea
commit 78b951a865
4 changed files with 158 additions and 0 deletions
+3
View File
@@ -8,3 +8,6 @@ node_modules
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
# Coverage reports
/coverage