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