Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
uo288574 committed Apr 26, 2024
1 parent b877ddc commit 01b4625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/components/game/GameConfiguration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe("Game Configuration", () => {

const input = getByLabelText('Número de preguntas:');
fireEvent.change(input, { target: { value: '0' } });
expect(input.value).toBe('0');
expect(input.value).toBe('1');
expect(screen.getByText(/El número de preguntas debe ser mayor que 0/i)).toBeInTheDocument();
});

Expand Down

0 comments on commit 01b4625

Please sign in to comment.