Skip to content

Commit

Permalink
test: ensure aggregate fields are exposed to end user
Browse files Browse the repository at this point in the history
  • Loading branch information
russellwheatley committed Nov 13, 2024
1 parent a89ca19 commit cb54669
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/firestore/__tests__/firestore.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import firestore, {
Filter,
getFirestore,
getAggregateFromServer,
count,
average,
sum,
addDoc,
doc,
collection,
Expand Down Expand Up @@ -656,6 +659,18 @@ describe('Firestore', function () {
it('`getAggregateFromServer` is properly exposed to end user', function () {
expect(getAggregateFromServer).toBeDefined();
});

it('`count` is properly exposed to end user', function () {
expect(count).toBeDefined();
});

it('`average` is properly exposed to end user', function () {
expect(average).toBeDefined();
});

it('`sum` is properly exposed to end user', function () {
expect(sum).toBeDefined();
});
});

describe('FirestorePersistentCacheIndexManager', function () {
Expand Down

0 comments on commit cb54669

Please sign in to comment.