Skip to content

Commit

Permalink
[ML] Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Jun 30, 2022
1 parent 52c1343 commit 1cc28d4
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ describe('query_field_candidates', () => {

const resp = await fetchFieldCandidates(esClientMock, params);

expect(resp).toEqual({
fieldCandidates: ['myIpFieldName', 'myKeywordFieldName'],
});
expect(resp).toEqual(['myIpFieldName', 'myKeywordFieldName']);
expect(esClientFieldCapsMock).toHaveBeenCalledTimes(1);
expect(esClientSearchMock).toHaveBeenCalledTimes(1);
});
Expand Down

0 comments on commit 1cc28d4

Please sign in to comment.