mrbatch: preview_session baut die Session ueber session-start.js (Progression aus, Deload-Routinen, Warm-up-Schritt), meldet auch Zeit/Cardio-Overrides; Rest-Toast auch nach verstecktem Ablauf

This commit is contained in:
Duarte Santos committed 2026-09-04 17:11:24 +02:00
1 parent 0f021aa06d
commit 6e9f5e7b9c
4 files changed
+84 -14

No files matched your search

+1 -1
View File
@@ -120,7 +120,7 @@ dependencies landed in `frontend/`, no public exports changed.
cd mcp && npm test
```
54 cases seeding state from `frontend/src/lib/demoSeed.js` (the same deterministic fixture
58 cases seeding state from `frontend/src/lib/demoSeed.js` (the same deterministic fixture
the public demo runs on). Pins JSON shape and the user-facing edge cases: rest-day override,
missing routine, zero-workout history, no synced state, superset links, three 1RM formulas.
"Today" is pinned via `vi.useFakeTimers({ now: ..., toFake: ['Date'] })` so date-dependent