From 444d76589a07be31d6ec27e7e5cb6564f7c4f2ce Mon Sep 17 00:00:00 2001 From: Ana Garcia Date: Thu, 9 Jan 2025 13:24:09 +0100 Subject: [PATCH] Update tests --- src/webapp/pages/app/__tests__/App.spec.tsx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/webapp/pages/app/__tests__/App.spec.tsx b/src/webapp/pages/app/__tests__/App.spec.tsx index 34b332b..d8bc171 100644 --- a/src/webapp/pages/app/__tests__/App.spec.tsx +++ b/src/webapp/pages/app/__tests__/App.spec.tsx @@ -1,4 +1,4 @@ -import { fireEvent, render } from "@testing-library/react"; +import { render } from "@testing-library/react"; import App from "$/webapp/pages/app/App"; import { getTestContext } from "$/utils/tests"; @@ -10,15 +10,6 @@ describe("App", () => { expect(await view.findByText("Send feedback")).toBeInTheDocument(); }); - - it("navigates to page", async () => { - const view = getView(); - - fireEvent.click(await view.findByText("John")); - - expect(await view.findByText("Hello John")).toBeInTheDocument(); - expect(view.asFragment()).toMatchSnapshot(); - }); }); function getView() {