Skip to content

Add component tests for components/streams/download-receipt-button.tsx #648

Description

@Austinaminu2

Description

`components/streams/download-receipt-button.tsx` has no test coverage for its disabled state, click handler, or the generated download's attributes/content.

Task

Add a test file covering: the button is disabled under the appropriate conditions, clicking it triggers receipt generation, and the resulting download link/blob has the expected attributes.

Good for contributors because

Small, self-contained component with a clear primary interaction (click → download) to verify.

Metadata

Metadata

Assignees

No one assigned

    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