Skip to content

Commit 8abb105

Browse files
test(coverage): drive N-Z pages + api/index.ts + hooks to >=95% (#132)
Pages-batch-B coverage push (filenames N-Z plus src/api/index.ts and src/hooks). Adds render/unit tests for the previously-uncovered static pages (NotFound/Privacy/Security/Terms/UseCases/UseCaseDetail), the SettingsPage PAT + deploy-TTL flows, VaultPage, the TeamPage and ResourcesPage component renders, the ResourceDetailPage branch supplement, the useDashboardCtx singleton store, and ~66 api/index.ts endpoint-wrapper cases via a mocked-fetch seam. Adds @vitest/coverage-v8 so per-file coverage can be measured. npm run gate green. Co-authored-by: Claude <claude@anthropic.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent b9a30c8 commit 8abb105

17 files changed

Lines changed: 2367 additions & 0 deletions

package-lock.json

Lines changed: 296 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"@types/react": "^18.3.1",
3636
"@types/react-dom": "^18.3.0",
3737
"@vitejs/plugin-react": "^4.2.1",
38+
"@vitest/coverage-v8": "^1.6.1",
3839
"jsdom": "^24.1.3",
3940
"size-limit": "^11.0.0",
4041
"typescript": "^5.9.3",

0 commit comments

Comments
 (0)