Skip to content

test: implement proper webusb transport mock for ledger connection fa… - #219

Open
jadonamite wants to merge 1 commit into
sanmipaul:mainfrom
jadonamite:patch-1
Open

test: implement proper webusb transport mock for ledger connection fa…#219
jadonamite wants to merge 1 commit into
sanmipaul:mainfrom
jadonamite:patch-1

Conversation

@jadonamite

Copy link
Copy Markdown

…ilure

Updates the LedgerWalletProvider test suite to actively mock TransportWebUSB.create. Replaces the structural .toBeDefined() check with a proper asynchronous rejection assertion to ensure hardware wallet connection failures are caught correctly.

…ilure

Updates the LedgerWalletProvider test suite to actively mock TransportWebUSB.create. Replaces the structural .toBeDefined() check with a proper asynchronous rejection assertion to ensure hardware wallet connection failures are caught correctly.
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