Skip to content

test: add missing hook tests#60

Merged
satoshai-dev merged 2 commits intomainfrom
test/missing-hook-tests
Mar 6, 2026
Merged

test: add missing hook tests#60
satoshai-dev merged 2 commits intomainfrom
test/missing-hook-tests

Conversation

@satoshai-dev
Copy link
Copy Markdown
Owner

Summary

  • Add tests for useSignStructuredMessage (8 tests + 1 OKX)
  • Add tests for useSignTransaction (9 tests + 1 OKX)
  • Add tests for useTransferSTX (12 tests + 4 OKX)

Covers idle state, success/error transitions, callback/async variants, reset, param forwarding, OKX UnsupportedMethodError guards, and OKX direct API path for STX transfers. 34 new tests (175 → 209 total).

Test plan

  • pnpm test — 209/209 tests pass

🤖 Generated with Claude Code

satoshai-dev and others added 2 commits March 6, 2026 17:24
…TransferSTX

Cover idle state, success/error transitions, callback/async variants,
reset, param forwarding, OKX unsupported method errors, and OKX
direct API path for transferSTX. 34 new tests (175 → 209 total).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@satoshai-dev satoshai-dev merged commit d70a794 into main Mar 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant