Skip to content

IncomeTracker has no tests: income aggregation and display are uncovered #914

Description

@nanaf6203-bit

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programTrivialtestingTest coverage or test reliability

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions