|
|
||
|---|---|---|
| .. | ||
| .gitkeep | ||
| ab-lifecycle.test.ts | ||
| README.md | ||
tests/integration
Full update lifecycle on fake-indexeddb with mocked transport + fault
injection, mirroring experiments/exp2-ab-update-sim.mjs (SPIKE-02 §3)
against the real pull → verify → stage → activate → boot state machine.
ab-lifecycle.test.ts— Stage 8 acceptance: S01–S14 + X1–X3 (16 SPIKE-02 scenarios as 18 tests; no-loop and retry-once covered separately). Invariant: either the previous valid dataset stays active or the new one becomes active; favorites are never lost. State-machine level only — iOS jetsam proof is device test T10 (§36).
See IMPLEMENTATION-CONTRACT.md §4 responsibilities and §6 B-1…B-7.