Skip to content

Commit

Permalink
Apply PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula committed May 31, 2022
1 parent beccdf9 commit ae72f81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ describe('AggTypeMetricSinglePercentileRankProvider class', () => {
}
);

expect(aggConfigs.toDsl()).toMatchSnapshot();
expect(aggConfigs.toDsl().single_percentile_rank.percentile_ranks.script.source).toEqual(
'return 456'
);
expect(aggConfigs.toDsl().single_percentile_rank.percentile_ranks.values).toEqual([1024]);
});
});

0 comments on commit ae72f81

Please sign in to comment.