diff --git a/src/app/Scenes/Activity/ActivityItem.tests.tsx b/src/app/Scenes/Activity/ActivityItem.tests.tsx index 5772b5b282b..18c1b10e856 100644 --- a/src/app/Scenes/Activity/ActivityItem.tests.tsx +++ b/src/app/Scenes/Activity/ActivityItem.tests.tsx @@ -96,7 +96,10 @@ describe("ActivityItem", () => { fireEvent.press(await screen.findByText("Notification Headline")) await waitFor(() => - expect(navigate).toHaveBeenCalledWith('/notification/') + expect(navigate).toHaveBeenCalledWith( + '/notification/', + undefined + ) ) }) diff --git a/src/app/Scenes/HomeView/Components/ActivityRail.tests.tsx b/src/app/Scenes/HomeView/Components/ActivityRail.tests.tsx index 369b62385fc..e01970055d9 100644 --- a/src/app/Scenes/HomeView/Components/ActivityRail.tests.tsx +++ b/src/app/Scenes/HomeView/Components/ActivityRail.tests.tsx @@ -100,7 +100,7 @@ describe("ActivityRail", () => { fireEvent.press(screen.getByText(/mock-value-for-field-"headline"/)) - expect(navigate).toHaveBeenCalledWith("/notification/id-1") + expect(navigate).toHaveBeenCalledWith("/notification/id-1", undefined) expect(mockTrackEvent).toHaveBeenCalledWith({ action: "tappedActivityGroup",