test: add 100% coverage for apps/api and packages/types

Adds full Vitest test suites with @vitest/coverage-v8, targeting 100%
statement/branch/function/line coverage. Uses v8 ignore comments for
genuinely unreachable defensive branches.
This commit is contained in:
2026-03-07 19:59:48 -08:00
committed by Naomi Carrigan
parent 5d2d71983a
commit b67eae9d46
39 changed files with 4277 additions and 8 deletions
+6
View File
@@ -112,12 +112,18 @@ importers:
'@nhcarrigan/typescript-config':
specifier: 4.0.0
version: 4.0.0(typescript@5.8.2)
'@vitest/coverage-v8':
specifier: 3.0.8
version: 3.0.8(vitest@3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3))
eslint:
specifier: 9.22.0
version: 9.22.0
typescript:
specifier: 5.8.2
version: 5.8.2
vitest:
specifier: 3.0.8
version: 3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3)
packages: