From aa41d4e476b51dabeafc0e0b1370fed595a383c2 Mon Sep 17 00:00:00 2001 From: Sahil Lavingia Date: Wed, 25 Sep 2024 11:46:31 -0400 Subject: [PATCH] Revert to commit 0833ab17 --- app/(dashboard)/page.test.tsx | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/app/(dashboard)/page.test.tsx b/app/(dashboard)/page.test.tsx index 7c3b61a1..dd3bc72a 100644 --- a/app/(dashboard)/page.test.tsx +++ b/app/(dashboard)/page.test.tsx @@ -34,24 +34,4 @@ describe("Homepage", () => { "Write Your Tests" ); }); - - it("renders the sign-in button for signed-out users", () => { - render( - - - - ); - - expect(screen.getByRole("button", { name: /sign in/i })).toBeInTheDocument(); - }); - - it("renders the dashboard link for signed-in users", () => { - render( - - - - ); - - expect(screen.getByRole("link", { name: /go to dashboard/i })).toBeInTheDocument(); - }); });