Description
`components/analytics/charts.tsx` has no test file. It has three separate empty-series branches (around lines 36, 59, 81) plus populated-data bar/line rendering paths that are currently unverified by any automated test.
Task
Add a React Testing Library test file covering: each empty-series branch renders its expected placeholder/empty state, and populated data renders the expected number of bars/points with correct scaling.
Good for contributors because
Self-contained component with a handful of clear render branches to enumerate and test.
Description
`components/analytics/charts.tsx` has no test file. It has three separate empty-series branches (around lines 36, 59, 81) plus populated-data bar/line rendering paths that are currently unverified by any automated test.
Task
Add a React Testing Library test file covering: each empty-series branch renders its expected placeholder/empty state, and populated data renders the expected number of bars/points with correct scaling.
Good for contributors because
Self-contained component with a handful of clear render branches to enumerate and test.