diff options
| author | Agent <agent@workspace.local> | 2026-03-18 10:15:54 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-19 00:11:16 +0000 |
| commit | 5723d6635f9462e60960b0f9548273d95a86d8f3 (patch) | |
| tree | 2ce8ee5829f317012d9b1b3f9097fbfb923192c0 /internal/models | |
| parent | e85b42d373de55781af9d699b246c0d6a492aec1 (diff) | |
test: add coverage for planning tab, meals, Google Tasks, bug handlers, completed task parsing
- HandleTabPlanning: happy-path test verifying tasks/cards land in correct
sections (scheduled/unscheduled/upcoming); boundary test confirming a task
due exactly at midnight of tomorrow lands in Upcoming, not Scheduled
- HandleTabMeals: grouping test verifying two meals sharing date+mealType
produce one CombinedMeal with both recipe names merged
- Google Tasks GetTasksByDateRange: four boundary tests (start inclusive, end
exclusive, no-due-date always included, out-of-range excluded) using
redirectingTransport mock server pattern
- HandleGetBugs: data assertions verifying bug list and empty-list cases
- HandleReportBug: success test verifying bug is saved and bugs template
is re-rendered
- GetCompletedTasks: timestamp parsing test ensuring CompletedAt is not zero
when inserted with a known "2006-01-02 15:04:05" string
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/models')
0 files changed, 0 insertions, 0 deletions
