Skip to content

[FE-117] wallet-api.ts has no test coverage #1705

Description

@yusuftomilola

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.

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions