From 01b4625349d6981b086a3d93efd4e77724ff1fe2 Mon Sep 17 00:00:00 2001 From: Liliana Date: Fri, 26 Apr 2024 10:42:19 +0200 Subject: [PATCH] minor fix --- webapp/src/components/game/GameConfiguration.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/components/game/GameConfiguration.test.js b/webapp/src/components/game/GameConfiguration.test.js index a5e1787f..25b5bfa0 100644 --- a/webapp/src/components/game/GameConfiguration.test.js +++ b/webapp/src/components/game/GameConfiguration.test.js @@ -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(); });