Skip to content

MOB-57: Remove Mock Receipt Data from Production Paths #847

Description

@Cedarich

Labels: Mobile, Stellar Wave, tech-debt, receipts
Complexity: Trivial (100)

Description
app/mobile/src/data/mockReceipt.ts still exists and is reachable from receipt components, which risks rendering an invented receipt in a shipped build. Now that receipt normalization and share support are live, the mock fixture belongs in tests only.

Acceptance Criteria

  • No non-test module imports src/data/mockReceipt.ts.
  • The fixture is either moved under __tests__/fixtures/ or deleted if unused.
  • Receipt screens render a loading and an error state instead of falling back to mock data.
  • A CI check fails if a production module imports a mock data file.

Activity

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

Metadata

Metadata

Assignees

Labels

MobileStellar WaveIssues in the Stellar wave programreceiptsAuto-createdtech-debtCleanup of stubs, mocks, placeholders, and accumulated debt

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions