Skip to content

Add component tests for the full SVG render of components/streams/unlock-chart.tsx #654

Description

@Austinaminu2

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.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programhelp wantedExtra attention is neededtestingTests and QA

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions