refactor: extract API route test harness #366
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
status:blocked
track:api
track:auto
track:core
track:deploy
track:infra
track:ui
type:cleanup
type:docs
type:epic
type:release
type:research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/delta#366
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #355
Problem
API route tests repeat hoisted DB/user state, DB mocks, auth middleware mocks, encryption-key setup, and JSON helper boilerplate. This makes new route tests noisy and easy to wire incorrectly.
Solution
Create a small API route test harness:
Acceptance criteria