Skip to content

Commit

Permalink
chore: add await switch network
Browse files Browse the repository at this point in the history
  • Loading branch information
magiziz committed Feb 21, 2025
1 parent 735f5bf commit efc038b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/adapters/bitcoin/tests/BitcoinAdapter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ describe('BitcoinAdapter', () => {
})

await expect(
await adapter.switchNetwork({
adapter.switchNetwork({
caipNetwork: bitcoinTestnet,
provider,
providerType: provider.type
Expand Down
2 changes: 1 addition & 1 deletion packages/appkit/tests/universal-adapter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ describe('UniversalAdapter', () => {
})

await expect(
await adapter.switchNetwork({
adapter.switchNetwork({
caipNetwork: mockCaipNetwork
})
).rejects.toThrow('WalletConnectConnector not found')
Expand Down

0 comments on commit efc038b

Please sign in to comment.