Skip to content

Commit 9eba9a0

Browse files
fix: failing test (#744)
1 parent 711e9ad commit 9eba9a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/recipe/thirdparty/signInUp.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ describe("ThirdParty.SignInAndUp", () => {
5858
{
5959
id: "custom",
6060
name: "Custom",
61-
logo: "LOGO" as any,
61+
logo: <span>LOGO</span>,
6262
},
6363
],
6464
},
@@ -94,7 +94,7 @@ describe("ThirdParty.SignInAndUp", () => {
9494
});
9595

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

0 commit comments

Comments
 (0)