Skip to content

Commit

Permalink
🐛 fix test with newer params
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 committed Oct 17, 2022
1 parent 54c8fc8 commit 3039c5d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plugins/data/public/search/expressions/esaggs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ describe('esaggs expression function - public', () => {
expect(startDependencies.aggs.createAggConfigs).toHaveBeenCalledWith(
{},
args.aggs.map((agg) => agg.value),
{ hierarchical: true, partialRows: false }
{ hierarchical: true, partialRows: false, probability: 1, samplerSeed: undefined }
);
});

Expand All @@ -99,6 +99,8 @@ describe('esaggs expression function - public', () => {
expect(startDependencies.aggs.createAggConfigs).toHaveBeenCalledWith({}, [], {
hierarchical: true,
partialRows: false,
probability: 1,
samplerSeed: undefined,
});
});

Expand Down

0 comments on commit 3039c5d

Please sign in to comment.