Description
Only `unlock-chart.tsx`'s internal `toX()`/`toY()` coordinate math is unit-tested (a separate already-filed issue). No test renders the actual SVG chart component itself with cliff and no-cliff stream data.
Location
`components/streams/unlock-chart.tsx`
Task
Add a test that renders the full chart component with both a cliff and a no-cliff stream, asserting the expected SVG elements (path/line/markers) are present.
Good for contributors because
Builds on already-tested internal math helpers — this closes the gap by testing the actual rendered output.
Description
Only `unlock-chart.tsx`'s internal `toX()`/`toY()` coordinate math is unit-tested (a separate already-filed issue). No test renders the actual SVG chart component itself with cliff and no-cliff stream data.
Location
`components/streams/unlock-chart.tsx`
Task
Add a test that renders the full chart component with both a cliff and a no-cliff stream, asserting the expected SVG elements (path/line/markers) are present.
Good for contributors because
Builds on already-tested internal math helpers — this closes the gap by testing the actual rendered output.