diff --git a/frontend/tests/components/Layout.test.tsx b/frontend/tests/components/Layout.test.tsx deleted file mode 100644 index e9d06997f..000000000 --- a/frontend/tests/components/Layout.test.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import { render, screen } from "tests/react-utils"; -import { axe } from "jest-axe"; - -import Layout from "src/components/Layout"; - -describe("AppLayout", () => { - it("renders children in main section", () => { - render( - -

child

-
, - ); - - const header = screen.getByRole("heading", { name: /child/i, level: 1 }); - - expect(header).toBeInTheDocument(); - }); - - it("passes accessibility scan", async () => { - const { container } = render( - -

child

-
, - ); - const results = await axe(container); - - expect(results).toHaveNoViolations(); - }); -});