There was an error while loading. Please reload this page.
1 parent 256a4d8 commit 970c0f4Copy full SHA for 970c0f4
test/query.ts
@@ -69,7 +69,11 @@ describe('Query', () => {
69
const aggregate2 = new AggregateQuery(query)
70
.count('total')
71
.count('total2');
72
+ const aggregate3 = new AggregateQuery(query)
73
+ .addAggregation(firstAggregation)
74
+ .addAggregation(secondAggregation);
75
assert.deepStrictEqual(aggregate.aggregations, aggregate2.aggregations);
76
+ assert.deepStrictEqual(aggregate.aggregations, aggregate3.aggregations);
77
assert.deepStrictEqual(aggregate.aggregations, [
78
firstAggregation,
79
secondAggregation,
0 commit comments