- Added .cursor/sessions/* to .gitignore to prevent session files from being tracked. - Enhanced coding standards in SKILL.md by adding semicolons to TypeScript examples for consistency. - Improved formatting in continuous learning, detail layout, and other SKILL.md files for better readability. These changes aim to streamline development processes and maintain code quality across the project.
25 lines
600 B
Markdown
25 lines
600 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`)
|