Skip to content

Commit

Permalink
test: up
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Oct 23, 2024
1 parent c14334a commit 4825ef4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/core/src/actions/sendTransaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 4825ef4

Please sign in to comment.