From 4825ef4a901c7281e1ca69d2f3378d167108c98a Mon Sep 17 00:00:00 2001 From: Tom Meagher Date: Wed, 23 Oct 2024 17:18:00 -0400 Subject: [PATCH] test: up --- packages/core/src/actions/sendTransaction.test.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/core/src/actions/sendTransaction.test.ts b/packages/core/src/actions/sendTransaction.test.ts index fbf78ddf70..dc6c6f5c97 100644 --- a/packages/core/src/actions/sendTransaction.test.ts +++ b/packages/core/src/actions/sendTransaction.test.ts @@ -15,7 +15,13 @@ beforeEach(async () => { }) test('default', async () => { - await connect(config, { connector }) + const result = await connect(config, { connector }) + config.state.connections.set(connector.uid, { + ...result, + // Switch up the current account because the default one is running out of funds somewhere + accounts: result.accounts.slice(1) as unknown as typeof result.accounts, + connector, + }) await expect( sendTransaction(config, { to: '0xd2135CfB216b74109775236E36d4b433F1DF507B',