Skip to content

Commit 4847d57

Browse files
committed
fiox
1 parent a5441d0 commit 4847d57

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/wallet/components/ConnectWallet.test.tsx

-4
Original file line numberDiff line numberDiff line change
@@ -445,20 +445,16 @@ describe('ConnectWallet', () => {
445445

446446
render(<ConnectWallet text="Connect" onConnect={onConnectMock} />);
447447

448-
// Click connect button
449448
const button = screen.getByTestId('ockConnectButton');
450449
fireEvent.click(button);
451450

452-
// Trigger the success callback from the connect function
453451
connectMock.mock.calls[0][1].onSuccess();
454452

455-
// Update account status to connected
456453
vi.mocked(useAccount).mockReturnValue({
457454
address: '0x123',
458455
status: 'connected',
459456
});
460457

461-
// Verify onConnect was called
462458
expect(onConnectMock).toHaveBeenCalledTimes(1);
463459
});
464460
});

src/wallet/components/WalletModal.test.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ describe('WalletModal', () => {
193193
config: {
194194
appearance: {
195195
logo: 'test-logo.png',
196-
// No appName provided
197196
},
198197
wallet: {},
199198
},

0 commit comments

Comments
 (0)