Skip to content

Commit 87cf150

Browse files
test(mobile): update login screen test to expect 'sign in' text and clean import
- Remove BOM from React import - Change test assertion to check for 'Sign In' instead of 'Login'
1 parent c73399f commit 87cf150

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/mobile/app/screens/LoginScreen.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react';
1+
import React from 'react';
22
import { render } from '@testing-library/react-native';
33
import { PaperProvider } from 'react-native-paper';
44
import { LoginScreen } from './LoginScreen';
@@ -11,6 +11,6 @@ describe('LoginScreen', () => {
1111
</PaperProvider>,
1212
);
1313

14-
expect(getByText('Login')).toBeTruthy();
14+
expect(getByText('Sign In')).toBeTruthy();
1515
});
1616
});

0 commit comments

Comments
 (0)