story-kit: create 113_story_add_test_coverage_for_usepathcompletion_hook
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
name: "Add test coverage for usePathCompletion hook"
|
||||||
|
---
|
||||||
|
|
||||||
|
# Story 113: Add test coverage for usePathCompletion hook
|
||||||
|
|
||||||
|
## User Story
|
||||||
|
|
||||||
|
As a developer, I want better test coverage for the usePathCompletion hook, so that regressions in path completion behavior are caught early.
|
||||||
|
|
||||||
|
## Acceptance Criteria
|
||||||
|
|
||||||
|
- [ ] usePathCompletion.ts reaches 95% coverage (currently 81.7%, 26 lines missing)
|
||||||
|
- [ ] Tests use renderHook to exercise all hook code paths
|
||||||
|
- [ ] All vitest tests pass
|
||||||
|
- [ ] No production code changes are made
|
||||||
|
|
||||||
|
## Out of Scope
|
||||||
|
|
||||||
|
- TBD
|
||||||
Reference in New Issue
Block a user