From c958ed0cf824ed28ece2c9a514a44496bdb8c46f Mon Sep 17 00:00:00 2001 From: Ryland Herrick Date: Mon, 1 May 2023 16:20:17 -0500 Subject: [PATCH] Add new client method to mock object --- x-pack/plugins/security_solution/server/mocks.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/plugins/security_solution/server/mocks.ts b/x-pack/plugins/security_solution/server/mocks.ts index fad5686e2e2e3..7575a5d13f4b6 100644 --- a/x-pack/plugins/security_solution/server/mocks.ts +++ b/x-pack/plugins/security_solution/server/mocks.ts @@ -10,6 +10,7 @@ import type { AppClient } from './types'; type AppClientMock = jest.Mocked; const createAppClientMock = (): AppClientMock => ({ + getAlertsIndex: jest.fn(), getSignalsIndex: jest.fn(), getSourcererDataViewId: jest.fn().mockReturnValue('security-solution'), } as unknown as AppClientMock);