({children}: {children?: React.ReactNode})
| 381 | let memoryRouter: Router | null = null; |
| 382 | |
| 383 | function Wrapper({children}: {children?: React.ReactNode}) { |
| 384 | memoryRouter = makeRouter({ |
| 385 | children: <AllTheProviders>{children}</AllTheProviders>, |
| 386 | history, |
| 387 | config, |
| 388 | outletContext, |
| 389 | }); |
| 390 | |
| 391 | return <RouterProvider router={memoryRouter} future={{v7_startTransition: true}} />; |
| 392 | } |
| 393 | |
| 394 | const {initialProps, ...rest} = options; |
| 395 |
nothing calls this directly
no test coverage detected