todo-app/lib
Krzysztof kuhy Rudnicki be376fd240
Some checks are pending
release-apk / release (APK) (push) Waiting to run
Make the sync-account route testable, and cover every branch
The route read its own configuration from Platform.environment and $HOME, so
the only branch a test could reach was "disabled" -- the serving path, the
missing-config path and the malformed-email path were all unreachable without
mutating the process environment.

Both are now constructor parameters defaulting to the environment, so
production behaviour is unchanged and tests drive all four outcomes: 404 when
disabled, 200 with the account when enabled, 404 when ~/.config/crdt-sync/ is
incomplete, and 404 when firebase.json has no usable email. The password's
trailing newline is stripped, which the test pins.

256 tests, analyzer clean.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0177xwzcpfpWG2qca8Mr39q9
2026-08-09 21:49:16 +02:00
..
data Default a bare-link draft to the freeform template 2026-07-26 22:13:26 +02:00
desktop Make the sync-account route testable, and cover every branch 2026-08-09 21:49:16 +02:00
sync Let the desktop provision its sync account from the wrapper 2026-08-09 21:39:16 +02:00
ui Add the Firebase connect UI, without which the cutover could never happen 2026-08-05 09:29:41 +02:00
frame_stats_io.dart Cut the llm-design-spec template from 12 sections to 7 2026-07-26 22:03:35 +02:00
frame_stats_web.dart Cut the llm-design-spec template from 12 sections to 7 2026-07-26 22:03:35 +02:00
frame_stats.dart Make the app compile and run for web, behind platform seams 2026-07-20 13:14:03 +02:00
main.dart warm-tint the unified-design-system palette, fix design audit violations 2026-07-22 18:56:45 +02:00