Skip to content

test: full hook test suite with @testing-library/react #7

Description

@gloriaelishahabu

Summary

Current tests only cover utilities. Add hook-level tests with mocked SDK calls.

Acceptance criteria

  • Mock @stellar/freighter-api in Vitest
  • Mock @stellar/stellar-sdk Horizon.Server and SorobanRpc.Server
  • Tests for: useFreighter, useStellarAccount, useStellarBalance, useTransaction
  • CI passes on every push

Notes

Use @testing-library/react + @testing-library/react-hooks.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programtestingTest coverage and infrastructure

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
🔨 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions