File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff 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 ( {
You can’t perform that action at this time.
0 commit comments