Skip to content

Commit

Permalink
Add new client method to mock object
Browse files Browse the repository at this point in the history
  • Loading branch information
rylnd committed May 1, 2023
1 parent 42128f3 commit c958ed0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x-pack/plugins/security_solution/server/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import type { AppClient } from './types';
type AppClientMock = jest.Mocked<AppClient>;
const createAppClientMock = (): AppClientMock =>
({
getAlertsIndex: jest.fn(),
getSignalsIndex: jest.fn(),
getSourcererDataViewId: jest.fn().mockReturnValue('security-solution'),
} as unknown as AppClientMock);
Expand Down

0 comments on commit c958ed0

Please sign in to comment.