From 24b64811ff75dbab1bbfd6d4270c47e4769ac828 Mon Sep 17 00:00:00 2001 From: Pavel Zaborskii Date: Mon, 25 Nov 2024 08:35:26 +0100 Subject: [PATCH] Fix typo in `get-largest-accounts-test.ts` --- .../rpc-api/src/__tests__/get-largest-accounts-test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/rpc-api/src/__tests__/get-largest-accounts-test.ts b/packages/rpc-api/src/__tests__/get-largest-accounts-test.ts index ae722f709290..29cb731cded9 100644 --- a/packages/rpc-api/src/__tests__/get-largest-accounts-test.ts +++ b/packages/rpc-api/src/__tests__/get-largest-accounts-test.ts @@ -50,8 +50,8 @@ describe('getLargestAccounts', () => { const faucetAddress = await getNodeAddress(faucetKeypairPath); const validatorAddress = await getNodeAddress(validatorKeypairPath); const voteAccountAddress = await getNodeAddress(voteAccountKeypairPath); - const largestAcountsPromise = rpc.getLargestAccounts({ commitment }).send(); - await expect(largestAcountsPromise).resolves.toStrictEqual({ + const largestAccountsPromise = rpc.getLargestAccounts({ commitment }).send(); + await expect(largestAccountsPromise).resolves.toStrictEqual({ context: CONTEXT_MATCHER, // We can't guarantee ordering is preserved across test runs value: expect.arrayContaining([ @@ -80,8 +80,8 @@ describe('getLargestAccounts', () => { const faucetAddress = await getNodeAddress(faucetKeypairPath); const validatorAddress = await getNodeAddress(validatorKeypairPath); const voteAccountAddress = await getNodeAddress(voteAccountKeypairPath); - const largestAcountsPromise = rpc.getLargestAccounts({ commitment, filter: 'circulating' }).send(); - await expect(largestAcountsPromise).resolves.toStrictEqual({ + const largestAccountsPromise = rpc.getLargestAccounts({ commitment, filter: 'circulating' }).send(); + await expect(largestAccountsPromise).resolves.toStrictEqual({ context: CONTEXT_MATCHER, // We can't guarantee ordering is preserved across test runs value: expect.arrayContaining([