diff --git a/apps/mobile/src/features/Assets/components/AccountItem/AccountItem.test.tsx b/apps/mobile/src/features/Assets/components/AccountItem/AccountItem.test.tsx index 833302409e..70b970a342 100644 --- a/apps/mobile/src/features/Assets/components/AccountItem/AccountItem.test.tsx +++ b/apps/mobile/src/features/Assets/components/AccountItem/AccountItem.test.tsx @@ -1,6 +1,7 @@ import React from 'react' import { render, screen, fireEvent } from '@/src/tests/test-utils' import { AccountItem } from './AccountItem' +import { Chain } from '@safe-global/store/gateway/AUTO_GENERATED/chains' const mockAccount = { address: { value: '0x123' as `0x${string}`, name: 'Test Account' }, @@ -45,7 +46,14 @@ describe('AccountItem', () => { }) it('renders account details correctly', () => { - render() + render( + , + ) expect(screen.getByText('Test Account')).toBeTruthy() expect(screen.getByText('1/1')).toBeTruthy() @@ -56,7 +64,7 @@ describe('AccountItem', () => { render( , @@ -67,7 +75,14 @@ describe('AccountItem', () => { }) it('calls onSelect when pressed', () => { - render() + render( + , + ) fireEvent.press(screen.getByTestId('account-item-wrapper')) expect(mockOnSelect).toHaveBeenCalledWith(mockAccount.address.value) @@ -77,7 +92,7 @@ describe('AccountItem', () => { render( { render(