Skip to content

Commit

Permalink
Revert to commit 0833ab1
Browse files Browse the repository at this point in the history
  • Loading branch information
slavingia committed Sep 25, 2024
1 parent 3befb0f commit bc8a78c
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions app/(dashboard)/page.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,4 @@ describe("Homepage", () => {
"Write Your Tests"
);
});

it("renders the sign-in button for signed-out users", () => {
render(
<ClerkProvider>
<Homepage />
</ClerkProvider>
);

expect(screen.getByRole("button", { name: /sign in/i })).toBeInTheDocument();
});

it("renders the dashboard link for signed-in users", () => {
render(
<ClerkProvider>
<Homepage />
</ClerkProvider>
);

expect(screen.getByRole("link", { name: /go to dashboard/i })).toBeInTheDocument();
});
});

0 comments on commit bc8a78c

Please sign in to comment.