Summary
The client has a growing set of shared utility helpers but no documented pattern for how to test them. Contributors adding new helpers often skip tests or write them inconsistently because there is no reference to follow.
Scope
- Document the test file naming convention for utils:
helperName.test.ts co-located with the helper
- Explain the test runner setup and how to run only util tests
- Include a worked example test for a simple helper showing describe block, test cases, and assertions
- Add a note that pure helpers should have 100% branch coverage
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The client has a growing set of shared utility helpers but no documented pattern for how to test them. Contributors adding new helpers often skip tests or write them inconsistently because there is no reference to follow.
Scope
helperName.test.tsco-located with the helperAcceptance Criteria
ETA: 12 hours
Coordinate on Telegram