Skip to content

test: implement SVM ExactSvmScheme integration test placeholders#1931

Open
natsukingly wants to merge 1 commit intox402-foundation:mainfrom
natsukingly:test/svm-integration-tests
Open

test: implement SVM ExactSvmScheme integration test placeholders#1931
natsukingly wants to merge 1 commit intox402-foundation:mainfrom
natsukingly:test/svm-integration-tests

Conversation

@natsukingly
Copy link
Copy Markdown

Summary

@x402/svm had 7 it.todo placeholders in test/unit/index.test.ts for the ExactSvmScheme integration tests. This PR implements them with mocked RPC clients.

Changes

  • Implemented payload creation tests (client scheme)
  • Implemented verification tests (facilitator scheme)
  • Implemented settlement flow tests with mocked signers
  • All tests use mocked Solana RPC to avoid network dependency

Test plan

  • All 7 previously-todo tests now pass
  • Full monorepo test suite passes

@github-actions github-actions bot added typescript sdk Changes to core v2 packages labels Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sdk Changes to core v2 packages typescript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant