From 5a7ebf78e36225287c9b915b4bfa67a19a2be639 Mon Sep 17 00:00:00 2001 From: Mai Vang Date: Fri, 29 Mar 2024 09:02:10 -0700 Subject: [PATCH] removed Home component and Home test file --- __tests__/Home.test.tsx | 12 ------------ components/Home.tsx | 7 ------- 2 files changed, 19 deletions(-) delete mode 100644 __tests__/Home.test.tsx delete mode 100644 components/Home.tsx diff --git a/__tests__/Home.test.tsx b/__tests__/Home.test.tsx deleted file mode 100644 index c4c2fe4a..00000000 --- a/__tests__/Home.test.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import { render, screen } from "@testing-library/react"; -import Home from "@/components/Home"; - -describe("Home", () => { - it("should have Login text", () => { - render(); - - const findElem = screen.getByText("Login"); - - expect(findElem).toBeInTheDocument(); - }); -}); diff --git a/components/Home.tsx b/components/Home.tsx deleted file mode 100644 index 6b7c11e4..00000000 --- a/components/Home.tsx +++ /dev/null @@ -1,7 +0,0 @@ -import React from 'react' - -export default function Home() { - return ( -
Login
- ) -}