Skip to content

Commit 303738e

Browse files
committed
fix: fix tests
1 parent 4d31bf7 commit 303738e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/screens/login/login-form.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const onSubmitMock: jest.Mock<LoginFormProps['onSubmit']> = jest.fn();
1212
describe('LoginForm Form ', () => {
1313
it('renders correctly', async () => {
1414
const { findByText } = render(<LoginForm />);
15-
expect(await findByText(/Sign in/i)).toBeNull();
15+
expect(await findByText(/Sign in/i)).not.toBeNull();
1616
});
1717

1818
it('should display required error when values are empty', async () => {

0 commit comments

Comments
 (0)