diff --git a/ui/package-lock.json b/ui/package-lock.json index f051773..567980c 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -5059,9 +5059,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001245", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001245.tgz", - "integrity": "sha512-768fM9j1PKXpOCKws6eTo3RHmvTUsG9UrpT4WoREFeZgJBTi4/X9g565azS/rVUGtqb8nt7FjLeF5u4kukERnA==" + "version": "1.0.30001304", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001304.tgz", + "integrity": "sha512-bdsfZd6K6ap87AGqSHJP/s1V+U6Z5lyrcbBu3ovbCCf8cSYpwTtGrCBObMpJqwxfTbLW6YTIdbb1jEeTelcpYQ==" }, "capture-exit": { "version": "2.0.0", diff --git a/ui/src/testutil.tsx b/ui/src/testutil.tsx index 9539f9b..2578e26 100644 --- a/ui/src/testutil.tsx +++ b/ui/src/testutil.tsx @@ -4,6 +4,7 @@ import { createTheme, ThemeProvider } from "@mui/material/styles"; import { render } from "@testing-library/react"; +import { MemoryRouter } from "react-router-dom"; import { SnackbarProvider } from "./snackbars"; export function renderWithCtx( @@ -12,7 +13,11 @@ export function renderWithCtx( function wrapped(children: React.ReactElement): React.ReactElement { return ( - {children} + + + {children} + + ); }