From a65854596e7bd62a5f28a4d769864b9dd2e847ea Mon Sep 17 00:00:00 2001 From: Giuseppe Scuglia Date: Tue, 15 Oct 2024 11:33:16 +0200 Subject: [PATCH] Update index.test.tsx --- __tests__/index.test.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/__tests__/index.test.tsx b/__tests__/index.test.tsx index 57da43d..9fedf93 100644 --- a/__tests__/index.test.tsx +++ b/__tests__/index.test.tsx @@ -9,7 +9,7 @@ const user = userEvent.setup(); const mockedTask = { title: "Test tasks", - description: "description test", + description: "description test 2", dueDate: 1698620400000, id: "aQmtq6HZusEoZvKhzSM_r", createdAt: 1697915659717, @@ -114,9 +114,9 @@ describe("Dashboard", () => { const descriptionField = await screen.findByTestId( "task-description-field" ); - user.type(descriptionField, "description test"); + user.type(descriptionField, "description test 2"); await waitFor(() => { - expect(descriptionField).toHaveValue("description test"); + expect(descriptionField).toHaveValue("description test 2"); }); user.click(screen.getByTestId("submit"));