Create integration tests that verify the entire portfolio analytics feature: loading account assets → calculating USD estimates → displaying allocation charts → exporting CSV. This involves multiple components and the Recharts library.
Acceptance Criteria:
- Tests verify accurate USD estimation calculations
- Chart rendering tests for different portfolio compositions
- CSV export functionality tested
- Tests handle accounts with no assets or single asset
- Tests handle price fetch failures gracefully
- Coverage for all portfolio calculation logic
Create integration tests that verify the entire portfolio analytics feature: loading account assets → calculating USD estimates → displaying allocation charts → exporting CSV. This involves multiple components and the Recharts library.
Acceptance Criteria: