Skip to content

Commit

Permalink
fix jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Nov 24, 2023
1 parent 45be6e5 commit cf6436e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions x-pack/plugins/aiops/common/api/stream_reducer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ describe('streamReducer', () => {
significantItems: [],
significantItemsGroups: [],
errors: [],
zeroDocsFallback: false,
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ describe('fetch_index_info', () => {
expect(baselineTotalDocCount).toEqual(5000000);
expect(deviationTotalDocCount).toEqual(5000000);
expect(esClientFieldCapsMock).toHaveBeenCalledTimes(1);
expect(esClientSearchMock).toHaveBeenCalledTimes(1);
expect(esClientSearchMock).toHaveBeenCalledTimes(2);
});
});
});

0 comments on commit cf6436e

Please sign in to comment.