Skip to content

Commit cfd0cba

Browse files
authored
test(e2e): Improve tanstack-router-start test template (#7440)
1 parent d4cd794 commit cfd0cba

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

integration/templates/tanstack-react-start/src/routes/__root.tsx

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,25 @@ function RootComponent() {
2222

2323
function RootDocument({ children }: { children: React.ReactNode }) {
2424
return (
25-
<ClerkProvider
26-
clerkJSUrl={import.meta.env.VITE_CLERK_JS_URL}
27-
clerkUiUrl={import.meta.env.VITE_CLERK_UI_URL}
28-
appearance={{
29-
options: {
30-
showOptionalFields: true,
31-
},
32-
}}
33-
>
34-
<html>
35-
<head>
36-
<HeadContent />
37-
</head>
38-
<body>
25+
<html>
26+
<head>
27+
<HeadContent />
28+
</head>
29+
<body>
30+
<ClerkProvider
31+
clerkJSUrl={import.meta.env.VITE_CLERK_JS_URL}
32+
clerkUiUrl={import.meta.env.VITE_CLERK_UI_URL}
33+
appearance={{
34+
options: {
35+
showOptionalFields: true,
36+
},
37+
}}
38+
>
3939
{children}
40-
<TanStackRouterDevtools position='bottom-right' />
41-
<Scripts />
42-
</body>
43-
</html>
44-
</ClerkProvider>
40+
</ClerkProvider>
41+
<TanStackRouterDevtools position='bottom-right' />
42+
<Scripts />
43+
</body>
44+
</html>
4545
);
4646
}

integration/templates/tanstack-react-start/src/routes/sign-in.tsx renamed to integration/templates/tanstack-react-start/src/routes/sign-in.$.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { SignIn } from '@clerk/tanstack-react-start';
22
import { createFileRoute } from '@tanstack/react-router';
33

4-
export const Route = createFileRoute('/sign-in')({
4+
export const Route = createFileRoute('/sign-in/$')({
55
component: Page,
66
});
77

0 commit comments

Comments
 (0)