From 57a194ec90d8152cd499b26ef50d3fdb603f397d Mon Sep 17 00:00:00 2001 From: howydev <132113803+howydev@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:58:00 -0500 Subject: [PATCH] fix: review fixes --- account-kit/smart-contracts/src/ma-v2/client/client.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account-kit/smart-contracts/src/ma-v2/client/client.test.ts b/account-kit/smart-contracts/src/ma-v2/client/client.test.ts index b6e7dac25d..3664af3ee8 100644 --- a/account-kit/smart-contracts/src/ma-v2/client/client.test.ts +++ b/account-kit/smart-contracts/src/ma-v2/client/client.test.ts @@ -56,7 +56,7 @@ describe("MA v2 Tests", async () => { await provider.waitForUserOperationTransaction(result); - await expect(await getTargetBalance()).toEqual( + await expect(getTargetBalance()).resolves.toEqual( startingAddressBalance + sendAmount ); }); @@ -114,7 +114,7 @@ describe("MA v2 Tests", async () => { txnHash = sessionKeyClient.waitForUserOperationTransaction(result); await expect(txnHash).resolves.not.toThrowError(); - await expect(await getTargetBalance()).toEqual( + await expect(getTargetBalance()).resolves.toEqual( startingAddressBalance + sendAmount ); });