Skip to content

Commit

Permalink
last minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
uo288574 committed Apr 26, 2024
1 parent 0df2783 commit aebdfeb
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 @@ -79,7 +79,7 @@ describe("Game Configuration", () => {
const input = getByLabelText('Número de preguntas:');
fireEvent.change(input, { target: { value: '0' } });
expect(input.value).toBe('1');
expect(screen.getAllByText(/El número de preguntas debe ser mayor que 0/i)).toBeInTheDocument();
expect(screen.getAllByText(/El número de preguntas debe ser mayor que 0/i)[0]).toBeInTheDocument();
});

test("modify number of answers for game",async () => {
Expand Down

0 comments on commit aebdfeb

Please sign in to comment.