import React from 'react'; import { render } from '@testing-library/react-native'; import { AuthProvider } from '../../contexts/AuthContext'; import SignInScreen from '../SignInScreen'; // Wrapper with required providers const SignInScreenWrapper = () => ( ); describe('SignInScreen', () => { it('should render without crashing', () => { const { toJSON } = render(); expect(toJSON()).toBeTruthy(); }); it('should match snapshot', () => { const { toJSON } = render(); expect(toJSON()).toMatchSnapshot(); }); });