414 B
414 B
Skill: Write Tests
When to Use
- New features
- Bug fixes with reproducible behavior
- Refactors that change logic
Steps
- Identify test scope and location.
- Add or update unit tests under *.test.ts/tsx.
- Mock external dependencies in test setup.
- Run minimal verification (see mcp/testing.md).
Do Not
- Do not add E2E tests unless requested.
- Do not change production code to fit tests.