Test coverage is effectively one unit test: test/heart_rate_data_model_test.dart (206 lines) plus a 54-line smoke test, for ~14k lines of app code. #597 makes the core mockable and #596 scopes bloc tests; this EPIC builds the layers above so the other EPICs can land safely.
Definition of done: every refactored view-model and the two critical flows (login redirect, consent gate) have tests running in CI with a coverage floor.
Line references are against branch chore/cams-2.x-upgrade @ 560a181.
Test coverage is effectively one unit test:
test/heart_rate_data_model_test.dart(206 lines) plus a 54-line smoke test, for ~14k lines of app code. #597 makes the core mockable and #596 scopes bloc tests; this EPIC builds the layers above so the other EPICs can land safely.Definition of done: every refactored view-model and the two critical flows (login redirect, consent gate) have tests running in CI with a coverage floor.
Line references are against branch
chore/cams-2.x-upgrade@ 560a181.