Skip to content

Commit f423520

Browse files
committed
remove warning as we are testing against production build. It is covered in unit tests
1 parent e0a67ed commit f423520

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

integration/vite-spa-mode-test.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -566,16 +566,6 @@ test.describe("SPA Mode", () => {
566566
await page.waitForSelector("[data-root]");
567567
expect(await page.locator("[data-root]").textContent()).toBe("Root");
568568
expect(await page.locator("[data-index]").textContent()).toBe("Index");
569-
570-
// Hydrates without issues - this message is expected due to the nested <Routes>
571-
expect(logs).toEqual([
572-
'You rendered descendant <Routes> (or called `useRoutes()`) at "/" ' +
573-
'(under <Route path="">) but the parent route path has no trailing "*". ' +
574-
"This means if you navigate deeper, the parent won't match anymore and " +
575-
"therefore the child routes will never render." +
576-
"\n\n" +
577-
'Please change the parent <Route path=""> to <Route path="/*">.',
578-
]);
579569
});
580570

581571
test("wraps default root HydrateFallback in user-provided Layout", async ({

0 commit comments

Comments
 (0)