Skip to content

Commit

Permalink
fix: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yjose committed Nov 19, 2024
1 parent f79f307 commit 938233b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/login-form.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const onSubmitMock: jest.Mock<LoginFormProps['onSubmit']> = jest.fn();
describe('LoginForm Form ', () => {
it('renders correctly', async () => {
setup(<LoginForm />);
expect(await screen.findByText(/Sign in/i)).toBeOnTheScreen();
expect(await screen.findByTestId('form-title')).toBeOnTheScreen();
});

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

0 comments on commit 938233b

Please sign in to comment.