diff --git a/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/investigate_in_timeline_action.test.tsx b/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/investigate_in_timeline_action.test.tsx index 08a0c1b8a045..24433e2f2ca9 100644 --- a/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/investigate_in_timeline_action.test.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/investigate_in_timeline_action.test.tsx @@ -38,12 +38,10 @@ const props = { }; describe('use investigate in timeline hook', () => { - let coreHttp: ReturnType['http']; let mockSendAlertToTimeline: jest.SpyInstance, [SendAlertToTimelineActionProps]>; beforeEach(() => { const coreStartMock = coreMock.createStart(); - coreHttp = coreStartMock.http; (KibanaServices.get as jest.Mock).mockReturnValue(coreStartMock); mockSendAlertToTimeline = jest.spyOn(actions, 'sendAlertToTimelineAction'); (useKibana as jest.Mock).mockReturnValue({