Current state
Currently 0% — the only spec file is a static code-inspection test (reads file contents with `fs.readFileSync`; no source paths are instrumented). Thresholds are set to 0% as a placeholder.
| Metric |
Actual |
Target |
| Statements |
0% |
80% |
| Branches |
0% |
80% |
| Functions |
0% |
80% |
| Lines |
0% |
80% |
Context
Coverage config was fixed in #3334 (`services/web/vitest.config.spec.ts` now has `coverage.include`). The threshold is intentionally 0% until real unit tests are added.
Recommended approach
- Add unit tests for server-side utilities, data-fetching helpers, and React hooks
- The static responsive-styles spec can remain as an integration sanity check
- Raise thresholds in `services/web/vitest.config.spec.ts` incrementally
How to check progress
```bash
pnpm --filter web test:coverage
```
Current state
Currently 0% — the only spec file is a static code-inspection test (reads file contents with `fs.readFileSync`; no source paths are instrumented). Thresholds are set to 0% as a placeholder.
Context
Coverage config was fixed in #3334 (`services/web/vitest.config.spec.ts` now has `coverage.include`). The threshold is intentionally 0% until real unit tests are added.
Recommended approach
How to check progress
```bash
pnpm --filter web test:coverage
```