utils/design_system/test
Krzysztof kuhy Rudnicki 480a8bdd82
Some checks failed
design_system tests / test (push) Has been cancelled
Stop const-folding EmptyState's constructor out of coverage
Removing the action slot made the constructor const-invocable, so the
test's `const EmptyState(...)` was evaluated at compile time and the
constructor line never executed -- 99%, caught by the pre-push gate
rather than by review, which is the point of having it.

Building the message through a helper keeps the invocation non-const.
That is also closer to real call sites, which interpolate runtime state
into the string rather than passing a literal.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XS1m7b1piBtAL22USLW6jL
2026-08-14 23:10:43 +02:00
..
confirm_test.dart Add design_system: the shared Flutter component layer 2026-08-14 22:51:06 +02:00
empty_state_test.dart Stop const-folding EmptyState's constructor out of coverage 2026-08-14 23:10:43 +02:00
feedback_test.dart Add design_system: the shared Flutter component layer 2026-08-14 22:51:06 +02:00
section_header_test.dart Add design_system: the shared Flutter component layer 2026-08-14 22:51:06 +02:00
status_colors_test.dart Add design_system: the shared Flutter component layer 2026-08-14 22:51:06 +02:00
theme_test.dart Add design_system: the shared Flutter component layer 2026-08-14 22:51:06 +02:00
tokens_test.dart Add design_system: the shared Flutter component layer 2026-08-14 22:51:06 +02:00