Skip to content

Add component tests for app/app/dashboard.tsx page-level composition #652

Description

@Austinaminu2

Description

`app/app/dashboard.tsx`'s page-level composition (loading/empty/populated states, and the `sent`/`received`/`all` view wiring) is untested, even though its child `DashboardStats` component is separately covered by existing tests.

Task

Add a test file covering: the page renders its loading state, its empty state (no streams), a populated state with mock stream data, and that switching between sent/received/all views filters the displayed streams correctly.

Good for contributors because

Clear page-level states to enumerate, good way to learn how the dashboard composes its data hooks and child components.

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 programhelp wantedExtra attention is neededtestingTests and QA

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions