Skip to content

Commit 6842713

Browse files
committed
Update test to check 'user' instead of 'to' in log args
Modified the test assertion to expect 'executedLog.args.user' to match 'account.address' instead of 'executedLog.args.to'. Removed the check for 'executedLog.args.value'.
1 parent 9107a5f commit 6842713

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/thirdweb/src/wallets/in-app/web/lib/in-app-integration.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ describe.runIf(process.env.TW_SECRET_KEY)(
7373
if (!executedLog) {
7474
throw new Error("No executed log found");
7575
}
76-
expect(executedLog.args.to).toBe(account.address);
77-
expect(executedLog.args.value).toBe(0n);
76+
expect(executedLog.args.user).toBe(account.address);
7877
});
7978

8079
it("should sponsor gas for a 4337 smart account", async () => {

0 commit comments

Comments
 (0)