Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
simianhacker committed Aug 25, 2021
1 parent 3398496 commit 06cb9bf
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ export default function ({ getService }: FtrProviderContext) {
});

expect(result.hits).to.be.ok();
expect(result.aggregations).to.be.ok();
if (aggType !== 'count') {
expect(result.aggregations).to.be.ok();
}
});
}
it('should work with a filterQuery', async () => {
Expand Down

0 comments on commit 06cb9bf

Please sign in to comment.