Commit Graph

4 Commits

Author SHA1 Message Date
djalim be2d8ad9d2 fix: remove unused assertExists import
Check Deno code / Check Deno code (pull_request) Failing after 7s
Tests / Unit tests (pull_request) Successful in 11s
Tests / Integration tests (pull_request) Successful in 56s
2026-04-26 14:19:11 +02:00
djalim 5acd0ac113 style: fix deno fmt and lint 2026-04-26 14:18:55 +02:00
djalim 88edbe0956 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 14:13:48 +02:00
djalim 01fd6e9984 test: add e2e, integration, and unit tests for fixtures and mockFetch 2026-04-21 10:14:25 +00:00