diff --git a/src/wallet/components/ConnectWallet.test.tsx b/src/wallet/components/ConnectWallet.test.tsx index 76e91cd754..16fb61520f 100644 --- a/src/wallet/components/ConnectWallet.test.tsx +++ b/src/wallet/components/ConnectWallet.test.tsx @@ -445,20 +445,16 @@ describe('ConnectWallet', () => { render(); - // Click connect button const button = screen.getByTestId('ockConnectButton'); fireEvent.click(button); - // Trigger the success callback from the connect function connectMock.mock.calls[0][1].onSuccess(); - // Update account status to connected vi.mocked(useAccount).mockReturnValue({ address: '0x123', status: 'connected', }); - // Verify onConnect was called expect(onConnectMock).toHaveBeenCalledTimes(1); }); }); diff --git a/src/wallet/components/WalletModal.test.tsx b/src/wallet/components/WalletModal.test.tsx index d2b0bcc9c1..34f262ce60 100644 --- a/src/wallet/components/WalletModal.test.tsx +++ b/src/wallet/components/WalletModal.test.tsx @@ -193,7 +193,6 @@ describe('WalletModal', () => { config: { appearance: { logo: 'test-logo.png', - // No appName provided }, wallet: {}, },