Skip to content

Commit cc5da3b

Browse files
committed
Fix long alias test so that it does not use unsupported aggregation type.
1 parent c23537c commit cc5da3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firestore/test/integration/api/aggregation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ apiDescribe('Aggregation queries', (persistence: boolean) => {
234234
return withTestCollection(persistence, testDocs, async coll => {
235235
const snapshot = await getAggregateFromServer(coll, {
236236
[longAlias]: count(),
237-
[longerAlias]: sum('num')
237+
[longerAlias]: count()
238238
});
239239

240240
expect(snapshot.data()[longAlias]).to.equal(2);

0 commit comments

Comments
 (0)