- Introduced coding standards for TypeScript and React in SKILL.md. - Added continuous learning skill with configuration and evaluation scripts. - Created detail layout guidelines for read-only pages. - Established form layout rules for data-entry forms. - Documented project guidelines for the frontend monorepo. - Implemented security review checklist for frontend/Electron applications. - Developed a verification loop skill for comprehensive session checks. This commit enhances the skill set available for developers, ensuring adherence to best practices and improving code quality.
23 lines
598 B
Markdown
23 lines
598 B
Markdown
# Test Coverage
|
|
|
|
Analyze Vitest coverage and add missing tests:
|
|
|
|
1. Run `pnpm test` (packages that support coverage: `pnpm --filter <pkg> test -- --coverage` when configured)
|
|
|
|
2. Identify files below 80%
|
|
|
|
3. For each under-covered file:
|
|
- Unit tests for validators, transformers, utils, stores
|
|
- Testing Library tests for `@repo/ui` components
|
|
- Journey tests for critical `apps/web` flows (mock data services)
|
|
|
|
4. Verify new tests pass
|
|
|
|
5. Show before/after coverage
|
|
|
|
Focus on:
|
|
- Happy path
|
|
- Error handling
|
|
- Edge cases (null, undefined, empty)
|
|
- Zod boundary conditions (`rangeLength`)
|