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