story-kit: create 111_story_add_test_coverage_for_api_agents_ts
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: "Add test coverage for api/agents.ts"
|
||||
---
|
||||
|
||||
# Story 111: Add test coverage for api/agents.ts
|
||||
|
||||
## User Story
|
||||
|
||||
As a developer, I want better test coverage for api/agents.ts, so that regressions in the agent API wrapper are caught early.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] api/agents.ts reaches 80% coverage (currently 29.5%, 67 lines missing)
|
||||
- [ ] Tests use fetch mocks to exercise all agent API wrapper functions
|
||||
- [ ] All vitest tests pass
|
||||
- [ ] No production code changes are made
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- TBD
|
||||
Reference in New Issue
Block a user