Skip to content

Commit

Permalink
improve test description
Browse files Browse the repository at this point in the history
  • Loading branch information
lezama authored Feb 7, 2025
1 parent efd6e9a commit c45c56e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe( 'Contact Form', () => {
expect( spy ).toHaveBeenCalledTimes( 1 );
} );

it( "shouldn't submit an invalid form", () => {
it( "shouldn't submit form with missing required fields", () => {
const form = screen.getByRole( 'form' );
const input = screen.getByLabelText( 'Name' );
input.setAttribute( 'required', '' );
Expand Down

0 comments on commit c45c56e

Please sign in to comment.