From 3f916a7c86850b1b9ce0dfcf949d576f46b7494d Mon Sep 17 00:00:00 2001 From: uo289039 Date: Thu, 14 Mar 2024 19:28:39 +0100 Subject: [PATCH] Intento arreglo de tests 19, encontrando todos los errores --- webapp/src/components/Login.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/components/Login.test.js b/webapp/src/components/Login.test.js index 7634fcc2..52d7196f 100644 --- a/webapp/src/components/Login.test.js +++ b/webapp/src/components/Login.test.js @@ -67,7 +67,7 @@ describe('Login component', () => { // Verify that the user information is not displayed //expect(screen.queryByText(/Hello testUser!/i)).toBeNull(); //expect(screen.queryByText(/Your account was created on/i)).toBeNull(); - expect(sendLogin.mock.calls[0]).toBe(undefined); + expect(sendLogin.mock.calls[0][0]).toBe(false); expect(sendUsername.mock.calls[0]).toBe(undefined); }); });