Skip to content

Commit 1177030

Browse files
committed
prettier
1 parent 94003fd commit 1177030

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

samples/react/login-pkce/src/App.test.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,18 @@ test("renders welcome message when authenticated", () => {
5151
isLoading: false,
5252
isAuthenticated: true,
5353
error: null,
54-
user: { profile: { given_name: "Test", family_name: "User", email: "test@example.com" } },
54+
user: {
55+
profile: {
56+
given_name: "Test",
57+
family_name: "User",
58+
email: "test@example.com",
59+
},
60+
},
5561
signoutRedirect: vi.fn(),
5662
});
5763
render(<App />);
58-
expect(screen.getByText("Welcome, Test User (test@example.com)")).toBeDefined();
64+
expect(
65+
screen.getByText("Welcome, Test User (test@example.com)"),
66+
).toBeDefined();
5967
expect(screen.getByRole("button", { name: "Sign out" })).toBeDefined();
6068
});

0 commit comments

Comments
 (0)