diff --git a/frontend/src/App.test.tsx b/frontend/src/App.test.tsx index bb8e88b004..f5f24f25c5 100644 --- a/frontend/src/App.test.tsx +++ b/frontend/src/App.test.tsx @@ -109,6 +109,9 @@ jest.mock("./components/Layout/MainLayout", () => { + {children} ); @@ -315,6 +318,51 @@ jest.mock("./components/Home/Home", () => { }; }); +jest.mock("./components/Scenarios/ScenarioCatalog", () => { + const MockScenarioCatalog = () =>
; + MockScenarioCatalog.displayName = "MockScenarioCatalog"; + return { + __esModule: true, + default: MockScenarioCatalog, + }; +}); + +jest.mock("./components/Scenarios/ScenarioDetail", () => { + const MockScenarioDetail = ({ + activeTarget, + labels, + onNavigate, + }: { + activeTarget: unknown; + labels: Record