Goal
All packages and services should reach 80% vitest coverage (statements, branches, functions, lines). The thresholds are enforced in CI via PR #3334 — builds will fail until each package meets its target.
Sub-issues
| Package / Service |
Stmts |
Branch |
Fns |
Lines |
Tracking issue |
@liexp/ui |
95.9% ✅ |
85.2% ✅ |
95.8% ✅ |
97.9% ✅ |
— already passing |
@liexp/shared |
63.9% |
58.9% |
56.8% |
63.5% |
#3335 |
@liexp/io |
58.3% |
100% ✅ |
37.5% |
65.0% |
#3336 |
@liexp/backend |
20.6% |
11.9% |
12.3% |
20.9% |
#3337 |
agent |
85.9% ✅ |
73.5% |
96.8% ✅ |
85.8% ✅ |
#3338 |
admin |
~0% |
~0% |
~0% |
~0% |
#3339 |
web |
0% |
0% |
0% |
0% |
#3340 |
api |
skipped (needs DB) |
— |
— |
— |
— |
worker |
skipped (needs DB) |
— |
— |
— |
— |
How to run coverage locally
# Single package
pnpm --filter @liexp/shared test:coverage
# All packages (excluding api/worker which need a DB)
pnpm --filter @liexp/ui test:coverage
pnpm --filter @liexp/shared test:coverage
pnpm --filter @liexp/io test:coverage
pnpm --filter @liexp/backend test:coverage
pnpm --filter agent test:coverage
pnpm --filter admin test:coverage
pnpm --filter web test:coverage
Related
Goal
All packages and services should reach 80% vitest coverage (statements, branches, functions, lines). The thresholds are enforced in CI via PR #3334 — builds will fail until each package meets its target.
Sub-issues
@liexp/ui@liexp/shared@liexp/io@liexp/backendagentadminwebapiworkerHow to run coverage locally
Related
test:coveragescripts and enforces thresholds in CI