test(mvp1): expand domain schema and service unit coverage

This commit is contained in:
2026-02-12 20:13:03 +01:00
parent 7c4b667bc7
commit 24676bd384
3 changed files with 144 additions and 1 deletions

View File

@@ -186,7 +186,7 @@ This file is the single source of truth for roadmap and delivery progress.
### Testing
- [ ] [P1] Unit tests for content schemas and service logic
- [x] [P1] Unit tests for content schemas and service logic
- [ ] [P1] Component tests for admin forms (pages/media/navigation)
- [ ] [P1] Integration tests for owner invariant and hidden support-user protection
- [ ] [P1] Integration tests for registration allow/deny behavior
@@ -280,6 +280,7 @@ This file is the single source of truth for roadmap and delivery progress.
- [2026-02-12] Announcements/news baseline added: admin `/announcements` + `/news` management screens and public announcement rendering slots (`global_top`, `homepage`).
- [2026-02-12] Public news routes now exist at `/news` and `/news/:slug` (detail restricted to published posts).
- [2026-02-12] Added `e2e/happy-paths.pw.ts` covering admin login, page publish/public rendering, announcement rendering, media upload, and commission status transition.
- [2026-02-12] Expanded unit coverage for content/domain schemas and post service behavior (`packages/content/src/domain-schemas.test.ts`, `packages/db/src/posts.test.ts`).
## How We Use This File