Commit Graph

3 Commits

Author SHA1 Message Date
djalim 235e12f407 fix: remove unused assertExists import 2026-04-26 12:36:04 +00:00
djalim 48874e5e13 style: fix deno fmt and lint 2026-04-26 12:36:04 +00:00
djalim 44d5f695fd test(promotions): add unit, integration and e2e tests for /promotions (#110)
- unit: fixture shapes, mock API (GET/POST/PUT/DELETE), mock DB CRUD
- integration: real DB list, create, get, update, delete, not-found cases
- e2e: handler calls with mock context + real DB, covers 400/403/404 cases
2026-04-26 12:36:04 +00:00