core-plugin-api: fix useRouteRefParams test

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-08-23 17:09:25 +02:00
parent ca96dfd5ef
commit 2b6b1f9ef6
@@ -41,9 +41,7 @@ describe('useRouteRefParams', () => {
const { getByText } = render(
<MemoryRouter initialEntries={['/foo/bar']}>
<Routes>
<Route path="/:a/:b">
<Page />
</Route>
<Route path="/:a/:b" element={<Page />} />
</Routes>
</MemoryRouter>,
);