Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
maryam-saeidi committed Sep 25, 2023
1 parent 944ab3c commit ef40cfc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1776,7 +1776,7 @@ const services: RuleExecutorServicesMock &
...alertsServices,
...ruleRegistryMocks.createLifecycleAlertServices(alertsServices),
searchSourceClient: {
create: jest.fn(() => mockedSearchSource),
create: jest.fn(() => Promise.resolve(mockedSearchSource)),
},
};
services.savedObjectsClient.get.mockImplementation(async (type: string, sourceId: string) => {
Expand Down

0 comments on commit ef40cfc

Please sign in to comment.