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.
Labels: Mobile, Stellar Wave, tech-debt, receipts
Complexity: Trivial (100)
Description
app/mobile/src/data/mockReceipt.tsstill 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
src/data/mockReceipt.ts.__tests__/fixtures/or deleted if unused.