trails/apps/journal/app
Ullrich Schäfer 55463d1f56
Add mocked unit tests for REST API route handlers
Tests the full handler flow with mocked DB: auth guard (401), Zod
validation (400), successful responses, and 404s for missing resources.
Also adds ~ alias resolution to Journal vitest config.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 00:59:45 +02:00
..
components Reduce map fly animation to 200ms 2026-04-11 00:48:41 +02:00
lib Implement Journal REST API v1 endpoints 2026-04-13 00:57:27 +02:00
routes Add mocked unit tests for REST API route handlers 2026-04-13 00:59:45 +02:00
entry.client.tsx Upgrade i18next v26 + react-i18next v17 with SSR-safe init 2026-03-29 11:38:36 +02:00
entry.server.tsx Upgrade i18next v26 + react-i18next v17 with SSR-safe init 2026-03-29 11:38:36 +02:00
root.tsx Pass full locale from Accept-Language to ClientDate 2026-03-29 11:46:21 +02:00
routes.ts Implement Journal REST API v1 endpoints 2026-04-13 00:57:27 +02:00