IncomeTracker has no tests: income aggregation and display are uncovered
Labels / Complexity: testing · Trivial — Trivial
Summary
IncomeTracker (src/components/dashboard/IncomeTracker.tsx) displays income tracking in the dashboard. It has no tests. A regression that mis-aggregates income or drops entries ships silently in the dashboard's income view.
Proposal
- Add a spec covering income rendering with empty and populated fixtures.
Acceptance criteria
- The spec covers the income states; it passes via
npm test.
Getting started
src/components/dashboard/IncomeTracker.tsx
src/components/dashboard/__tests__/DataRefreshWrapper.test.tsx — the pattern
Commands: npm test.
Good first files to read: src/components/dashboard/IncomeTracker.tsx.
IncomeTracker has no tests: income aggregation and display are uncovered
Labels / Complexity: testing · Trivial — Trivial
Summary
IncomeTracker(src/components/dashboard/IncomeTracker.tsx) displays income tracking in the dashboard. It has no tests. A regression that mis-aggregates income or drops entries ships silently in the dashboard's income view.Proposal
Acceptance criteria
npm test.Getting started
src/components/dashboard/IncomeTracker.tsxsrc/components/dashboard/__tests__/DataRefreshWrapper.test.tsx— the patternCommands:
npm test.Good first files to read:
src/components/dashboard/IncomeTracker.tsx.