Add React Router v7 future flags to routers
This commit is contained in:
1 parent
73c03b70cb
commit
4148214e80
8 files changed
+33
-33
No files matched your search
@@ -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>,
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user