Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Chakravarthy7102 committed Sep 27, 2023
1 parent 711e9ad commit f2efc95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/recipe/thirdparty/signInUp.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe("ThirdParty.SignInAndUp", () => {
{
id: "custom",
name: "Custom",
logo: "LOGO" as any,
logo: <span>LOGO</span>,
},
],
},
Expand Down Expand Up @@ -94,7 +94,7 @@ describe("ThirdParty.SignInAndUp", () => {
});

test("check if the logo is rendered, when a logo is provided for custom providers", async () => {
const result = render(<SignInAndUp />);
const result = render(<SignInAndUp redirectOnSessionExists={false} />);
expect(await result.findByText("LOGO")).toBeInTheDocument();
});

Expand Down

0 comments on commit f2efc95

Please sign in to comment.