Silence React Router future warnings in tests
This commit is contained in:
@@ -92,7 +92,7 @@ function renderWithProviders(initialPath: string, routes: React.ReactNode) {
|
||||
<I18nProvider>
|
||||
<ConfirmProvider>
|
||||
<PromptProvider>
|
||||
<MemoryRouter initialEntries={[initialPath]}>
|
||||
<MemoryRouter initialEntries={[initialPath]} future={{ v7_startTransition: true, v7_relativeSplatPath: true }}>
|
||||
<Routes>{routes}</Routes>
|
||||
</MemoryRouter>
|
||||
</PromptProvider>
|
||||
|
||||
Reference in New Issue
Block a user