Skip to content

Commit

Permalink
fix: broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zoruka committed Jan 10, 2025
1 parent 5e140fa commit 9a1b6e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/adapters/ethers5/src/tests/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,10 @@ describe('Ethers5Adapter', () => {
})

expect(mockAuthProvider.switchNetwork).toHaveBeenCalledWith('eip155:1')
expect(mockAuthProvider.getUser).toHaveBeenCalledWith({ chainId: 'eip155:1' })
expect(mockAuthProvider.getUser).toHaveBeenCalledWith({
chainId: 'eip155:1',
preferredAccountType: 'smartAccount'
})
})
})

Expand Down

0 comments on commit 9a1b6e0

Please sign in to comment.