Commit Graph

1 Commits

Author SHA1 Message Date
achim bef6abdd2e test(frontend): add component tests — TimeEntryForm, WeeklyView, App smoke
- TimeEntryForm.test.tsx: fills date/project/h:mm, clicks submit,
  asserts fetch called with correct JSON body (mocked fetch)
- WeeklyView.test.tsx: renders with stubbed WeeklyReport fixture,
  asserts each day's h:mm and the week total display correctly
- App.test.tsx: smoke test — renders layout with TopBar and main content

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 11:57:07 +02:00