mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-16 13:20:39 -07:00
Fixture builders match the hand-written API types with deterministic ids. Handlers are per-domain factories tests compose via worker.use; unstubbed requests fail loudly. sseController streams real text/event-stream bodies through MSW into EventSource, so generation and download progress are testable without touching the transport. renderRoute mounts the real route tree over memory history. Query clients drain on teardown so in-flight fetches can't leak past handler reset, and the browser project pre-bundles app deps so a cold dep- optimizer cache can't reload mid-run.