Skip to content

Commit e0bb77c

Browse files
committed
consts
1 parent 2e30f33 commit e0bb77c

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

firestore-next/test.firestore.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,6 @@ describe("firestore", () => {
11711171
});
11721172

11731173
describe("aggregate queries", () => {
1174-
<<<<<<< HEAD
11751174
it("should fetch the count of documents in a collection", async () => {
11761175
const { collection, getCountFromServer } = require("firebase/firestore");
11771176
// [START count_aggregate_collection]
@@ -1190,24 +1189,6 @@ describe("firestore", () => {
11901189
console.log('count: ', snapshot.data().count);
11911190
// [END count_aggregate_query]
11921191
});
1193-
=======
1194-
it("should fetch the count of documents in a collection", async () => {
1195-
// [START count_aggregate_collection]
1196-
const coll = collection(db, "cities");
1197-
const snapshot = await getCountFromServer(coll);
1198-
console.log('count: ', snapshot.data().count);
1199-
// [END count_aggregate_collection]
1200-
});
1201-
1202-
it("should fetch the count of documents in a query", async () => {
1203-
// [START count_aggregate_query]
1204-
const coll = collection(db, "cities");
1205-
const query = query(coll, where("state", "==", "CA"));
1206-
const snapshot = await getCountFromServer(query);
1207-
console.log('count: ', snapshot.data().count);
1208-
// [END count_aggregate_query]
1209-
});
1210-
>>>>>>> 09d36f3 (add simpler snippet)
12111192
});
12121193

12131194
// TODO: Break out into separate file

0 commit comments

Comments
 (0)