diff --git a/webapp/src/components/Login.test.js b/webapp/src/components/Login.test.js index fd47c55d..3fc7e741 100644 --- a/webapp/src/components/Login.test.js +++ b/webapp/src/components/Login.test.js @@ -68,6 +68,6 @@ describe('Login component', () => { //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(sendUsername.mock.calls[0]).toBe(usernameInput); + expect(sendUsername.mock.calls[0]).toBe(undefined); }); });