Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasolson committed Aug 3, 2020
1 parent 3ac8915 commit 44fd6ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ describe('ES search strategy', () => {
mockApiCaller.mockResolvedValueOnce(mockAsyncResponse);

const params = { index: 'foo-*', body: {} };
const esSearch = await enhancedEsSearchStrategyProvider(mockConfig$, mockLogger);
const esSearch = await enhancedEsSearchStrategyProvider(mockConfig$);

await esSearch.search((mockContext as unknown) as RequestHandlerContext, { params });

Expand Down

0 comments on commit 44fd6ba

Please sign in to comment.