chore: add local patch coverage preflight instructions before unit tests across multiple agent and instruction files

This commit is contained in:
GitHub Actions
2026-02-17 14:07:19 +00:00
parent b9bb14694f
commit 0fdaa3fef3
6 changed files with 60 additions and 18 deletions
+3
View File
@@ -40,6 +40,9 @@ You are a SENIOR REACT/TYPESCRIPT ENGINEER with deep expertise in:
- Add proper error boundaries and loading states
3. **Testing**:
- **Run local patch preflight first**: Execute VS Code task `Test: Local Patch Report` or `bash scripts/local-patch-report.sh` before unit/coverage test runs.
- Confirm artifacts exist: `test-results/local-patch-report.md` and `test-results/local-patch-report.json`.
- Use the report's file-level uncovered list to prioritize frontend test additions.
- Write unit tests with Vitest and Testing Library
- Cover edge cases and error states
- Run tests with `npm test` in `frontend/` directory