Skip to content

Commit 7a99f2f

Browse files
committed
fix: testing against wrong expect
1 parent 70b307f commit 7a99f2f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/sdk-multichain/src/utis/rpc/client.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ t.describe('RPCClient', () => {
9494

9595
t.it('should return headers with Metamask-Sdk-Info when RPC endpoint includes infura', () => {
9696
const infuraEndpoint = 'https://mainnet.infura.io/v3/test-key';
97-
const headers = (rpcClient as any).getHeaders(infuraEndpoint);
98-
t.expect(headers).toEqual(headers);
97+
const currentHeaders = (rpcClient as any).getHeaders(infuraEndpoint);
98+
t.expect(currentHeaders).toEqual(headers);
9999
});
100100
});
101101

0 commit comments

Comments
 (0)