Adds end-to-end integration test for the WebSocket live broadcast pipeline:
Redis + TimescaleDB containers + Directus stub → full pipeline boot → real
WS client assertions. Mirrors pipeline.integration.test.ts pattern with the
skip-on-no-Docker guard.
Key additions:
- test/live.integration.test.ts: 6 test scenarios — happy path (subscribe →
snapshot → live position), auth rejection (401), forbidden subscription
(error/forbidden), multi-client fan-out (both receive position), orphan
position (no WS frame), faulty snapshot exclusion (next-best non-faulty)
- test/helpers/directus-stub.ts: bare http.createServer stub for /users/me
and /items/events/:id endpoints with cookie-based user lookup
- test/fixtures/test-schema.sql: minimal schema subset (events, entries,
entry_devices with IMEI-as-device_id for Phase 1 join semantics)
The integration test runs via `pnpm test:integration`, not `pnpm test`.
Docker required; the suite skips cleanly when Docker is unavailable.