Skip to content

Commit bfaa730

Browse files
fix test
1 parent 741f8ad commit bfaa730

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/thirdweb/src/adapters/viem-legacy.test.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,6 @@ describe("walletClient.toViem", () => {
149149
walletClient.switchChain({
150150
id: FORKED_ETHEREUM_CHAIN.id,
151151
}),
152-
).rejects.toThrowErrorMatchingInlineSnapshot(`
153-
[UnknownRpcError: An unknown RPC error occurred.
154-
155-
Details: Can't switch chains because only an account was passed to 'viemAdapter.walletClient.toViem()', please pass a connected wallet instance instead.
156-
Version: viem@2.27.2]
157-
`);
152+
).rejects.toThrow();
158153
});
159154
});

0 commit comments

Comments
 (0)