## Overview `frontend/lib/wallet-api.ts` — the only API client in the app — has no test file. Its error-handling path (`walletFetch`'s non-ok branch) is untested. ## Tasks - [ ] Add unit tests for each exported function, including the error-response path (both JSON and non-JSON error bodies). ## Acceptance Criteria - [ ] `wallet-api.ts`'s success and error paths are both directly tested. ## Notes for Contributors Comment below to be assigned.
Overview
frontend/lib/wallet-api.ts— the only API client in the app — has no test file. Its error-handling path (walletFetch's non-ok branch) is untested.Tasks
Acceptance Criteria
wallet-api.ts's success and error paths are both directly tested.Notes for Contributors
Comment below to be assigned.