Skip to content

Add tests for useWalletConnector hook - #945

Merged
nanaf6203-bit merged 1 commit into
MettaChain:mainfrom
Spaully:fix/issue-873-use-wallet-connector-tests
Aug 26, 2026
Merged

nanaf6203-bit merged 1 commit into
MettaChain:mainfrom
Spaully:fix/issue-873-use-wallet-connector-tests

Conversation

@Spaully

@Spaully Spaully commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Added comprehensive test coverage for the useWalletConnector hook which lazy-loads wallet connectors on demand.

Changes

  • Added tests for MetaMask, Coinbase, and WalletConnect connector flows
  • Tested error handling and connector error states
  • Tested the unified connectWallet dispatch function
  • Tested unsupported wallet error handling
  • Tested error clearing functionality

Closes #873
Closes #874
Closes #875
Closes #876

@drips-wave

drips-wave Bot commented Aug 26, 2026

Copy link
Copy Markdown

@Spaully Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@nanaf6203-bit nanaf6203-bit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, thanks for getting this over the line!

@nanaf6203-bit
nanaf6203-bit merged commit bcc1bb3 into MettaChain:main Aug 26, 2026
2 of 5 checks passed
@github-actions

Copy link
Copy Markdown

🔒 Preview Environment Destroyed

The preview environment for this PR has been torn down.

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

Labels

None yet

Projects

None yet

2 participants