app/stream/[id]/page.tsx is one of the most logic-heavy pages in the app — it derives stream status (deriveStatus), guards against out-of-order async responses via a loadSeq ref (isCurrent()), computes isSender/isRecipient from the connected wallet, and conditionally renders four different states (disconnected/loading/error/loaded) — but has no corresponding test file. app/create/__tests__/page.test.tsx, app/dashboard/__tests__/page.test.tsx (plus page.race.test.tsx specifically for its race-condition guard), and app/streams/__tests__/page.test.tsx all have coverage for comparable route-level logic; app/stream/[id]/page.tsx — arguably the page with the most non-trivial state machine of any of them — has none. Given app/dashboard/__tests__/page.race.test.tsx exists specifically to test dashboard's request-race handling, this page's own (correctly-implemented) loadSeq/isCurrent() race guard is exactly the kind of logic that file's sibling pages already consider test-worthy.
app/stream/[id]/page.tsxis one of the most logic-heavy pages in the app — it derives stream status (deriveStatus), guards against out-of-order async responses via aloadSeqref (isCurrent()), computesisSender/isRecipientfrom the connected wallet, and conditionally renders four different states (disconnected/loading/error/loaded) — but has no corresponding test file.app/create/__tests__/page.test.tsx,app/dashboard/__tests__/page.test.tsx(pluspage.race.test.tsxspecifically for its race-condition guard), andapp/streams/__tests__/page.test.tsxall have coverage for comparable route-level logic;app/stream/[id]/page.tsx— arguably the page with the most non-trivial state machine of any of them — has none. Givenapp/dashboard/__tests__/page.race.test.tsxexists specifically to test dashboard's request-race handling, this page's own (correctly-implemented)loadSeq/isCurrent()race guard is exactly the kind of logic that file's sibling pages already consider test-worthy.