Repository navigation
Enhance unit tests and add utility functions for WalletConnect - #26
Merged
Merged
Conversation
- 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.
- 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.
… update documentation and styles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BlazorWalletConnect.Testsproject dependencies to latest versions.ConfigurationsTests.WalletConnectOptionsTeststo include color mix strength validation.ChainDtoto support Avalanche mainnet.TransactionConfirmedtest inWalletConnectInteropTeststo validate Ethers receipt deserialization.WalletConnectUtilities.tswith utility functions for wallet account management and transaction receipt serialization.WalletConnectUtilities.test.ts.WalletConnectButtonProviderTeststo ensure correct rendering of consumer button.