Skip to content

Commit

Permalink
Remove unused mock
Browse files Browse the repository at this point in the history
  • Loading branch information
kqualters-elastic committed Feb 8, 2022
1 parent 474681b commit a860c57
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,10 @@ const props = {
};

describe('use investigate in timeline hook', () => {
let coreHttp: ReturnType<typeof coreMock.createStart>['http'];
let mockSendAlertToTimeline: jest.SpyInstance<Promise<void>, [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({
Expand Down

0 comments on commit a860c57

Please sign in to comment.