Add React Router v7 future flags to routers

This commit is contained in:
beatz174-bit
2025-11-24 07:53:54 +10:00
parent 73c03b70cb
commit 4148214e80
8 changed files with 33 additions and 33 deletions
+3 -3
View File
@@ -92,7 +92,7 @@ beforeEach(() => {
describe('StartPickListScreen', () => {
it('shows category selection controls', () => {
render(
<MemoryRouter>
<MemoryRouter future={{ v7_startTransition: true, v7_relativeSplatPath: true }}>
<StartPickListScreen />
</MemoryRouter>,
);
@@ -108,7 +108,7 @@ describe('StartPickListScreen', () => {
const user = userEvent.setup();
render(
<MemoryRouter>
<MemoryRouter future={{ v7_startTransition: true, v7_relativeSplatPath: true }}>
<StartPickListScreen />
</MemoryRouter>,
);
@@ -149,7 +149,7 @@ describe('StartPickListScreen', () => {
]);
render(
<MemoryRouter>
<MemoryRouter future={{ v7_startTransition: true, v7_relativeSplatPath: true }}>
<StartPickListScreen />
</MemoryRouter>,
);