Skip to content

Commit

Permalink
Fix typo in get-largest-accounts-test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
intls authored Nov 25, 2024
1 parent bd5dff5 commit 24b6481
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/rpc-api/src/__tests__/get-largest-accounts-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down Expand Up @@ -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([
Expand Down

0 comments on commit 24b6481

Please sign in to comment.