Summary
The bonding curve chart plots XLM price against key supply. Unit tests should confirm the chart receives the correct number of data points, that the x-axis range matches the current supply, and that the current price point is highlighted.
Scope
- Test the chart renders exactly N data points when given a supply of N
- Test the x-axis maximum equals the current supply value
- Test the current price point is marked with a distinct highlight class
- Test the chart renders a message 'No data' when given an empty data array
- Mock the chart library and assert it is called with the correct data shape
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The bonding curve chart plots XLM price against key supply. Unit tests should confirm the chart receives the correct number of data points, that the x-axis range matches the current supply, and that the current price point is highlighted.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram