Skip to content

Enhance unit tests and add utility functions for WalletConnect - #26

Merged
Phelecks merged 3 commits into
mainfrom
Phelecks/issue25
Jul 21, 2026
Merged

Phelecks merged 3 commits into
mainfrom
Phelecks/issue25

Conversation

@Phelecks

Copy link
Copy Markdown
Member
  • Updated BlazorWalletConnect.Tests project dependencies to latest versions.
  • Added tests for theme mode validation and color mix strength in ConfigurationsTests.
  • Enhanced WalletConnectOptionsTests to include color mix strength validation.
  • Introduced new tests for ChainDto to support Avalanche mainnet.
  • Added TransactionConfirmed test in WalletConnectInteropTests to validate Ethers receipt deserialization.
  • Created WalletConnectUtilities.ts with utility functions for wallet account management and transaction receipt serialization.
  • Implemented tests for utility functions in WalletConnectUtilities.test.ts.
  • Added WalletConnectButtonProviderTests to ensure correct rendering of consumer button.

- Updated `BlazorWalletConnect.Tests` project dependencies to latest versions.
- Added tests for theme mode validation and color mix strength in `ConfigurationsTests`.
- Enhanced `WalletConnectOptionsTests` to include color mix strength validation.
- Introduced new tests for `ChainDto` to support Avalanche mainnet.
- Added `TransactionConfirmed` test in `WalletConnectInteropTests` to validate Ethers receipt deserialization.
- Created `WalletConnectUtilities.ts` with utility functions for wallet account management and transaction receipt serialization.
- Implemented tests for utility functions in `WalletConnectUtilities.test.ts`.
- Added `WalletConnectButtonProviderTests` to ensure correct rendering of consumer button.
@Phelecks Phelecks self-assigned this Jul 21, 2026
Phelecks added 2 commits July 21, 2026 22:18
- Introduced a new script `check-reown-singletons.mjs` to verify that specific packages are installed as singletons.
- The script checks for the presence of '@reown/appkit-common', '@reown/appkit-controllers', '@reown/appkit-utils', and '@walletconnect/universal-provider' in the package-lock.
- It ensures that these packages are installed exactly once at the expected path.
- Additionally, it verifies that the version of the 'uuid' package is '11.1.1'.
- If any checks fail, an error is thrown detailing the issues found.
@Phelecks
Phelecks merged commit 320c1c3 into main Jul 21, 2026
14 checks passed
@Phelecks
Phelecks deleted the Phelecks/issue25 branch July 21, 2026 21:24
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