Procedure
- Identify the target component or service.
- List edge cases and happy paths.
- Create a test file (e.g.,
*.test.tsor*.spec.ts). - Implement unit tests using the project's test runner (Jest/Vitest).
- Run tests ensuring coverage and pass/fail correctness.