Skip to content

Commit b48426a

Browse files
committed
Fix server first route check in test
1 parent 84463dd commit b48426a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration/vite-css-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const files = ({ templateName }: { templateName: TemplateName }) => ({
118118
...Object.assign(
119119
{},
120120
...getRouteBasePaths(templateName).map((routeBasePath) => {
121-
const isServerFirstRoute = routeBasePath === "rsc-server-first-css";
121+
const isServerFirstRoute = routeBasePath === "rsc-server-first-route";
122122
const exportName = isServerFirstRoute ? "ServerComponent" : "default";
123123

124124
return {
@@ -579,7 +579,7 @@ async function hmrWorkflow({
579579
await expect(input).toHaveValue("stateful");
580580
}
581581

582-
// RSC Framework Mode doesn't support custom entries yet
582+
// RSC Framework mode doesn't support custom entries yet
583583
if (!templateName.includes("rsc")) {
584584
// The following change triggers a full page reload, so we check it after all the checks for HMR state preservation
585585
await edit("app/entry.client.css", modifyCss);

0 commit comments

Comments
 (0)