Skip to content

Commit 4fbd224

Browse files
committed
Feedback
1 parent b95b0c8 commit 4fbd224

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/firestore/test/unit/local/counting_query_engine.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ export class CountingQueryEngine extends QueryEngine {
4848
overlayTypes: { [k: string]: MutationType } = {};
4949

5050
/**
51-
* The number of documents returned by the RemoteDocumentCache's //
52-
* `getAll()` API (since the last call to `resetCounts()`) //
51+
* The number of documents returned by the RemoteDocumentCache's
52+
* `getAll()` API (since the last call to `resetCounts()`).
5353
*/
5454
documentsReadByCollection = 0;
5555

@@ -185,9 +185,9 @@ export class CountingQueryEngine extends QueryEngine {
185185
},
186186

187187
getOverlaysForCollectionGroup: (
188-
transaction,
189-
collectionGroup,
190-
sinceBatchId,
188+
transaction: PersistenceTransaction,
189+
collectionGroup: string,
190+
sinceBatchId: number,
191191
count: number
192192
) => {
193193
return subject

packages/firestore/test/unit/local/local_store.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2005,7 +2005,7 @@ function genericLocalStoreTests(
20052005
.finish();
20062006
});
20072007

2008-
it('can handle multiple field patches on local docs', () => {
2008+
it('update on remote doc leads to update overlay', () => {
20092009
expect(new Map([['a', 1]])).to.deep.equal(new Map([['a', 0]]));
20102010
return expectLocalStore()
20112011
.afterAllocatingQuery(query('foo'))

0 commit comments

Comments
 (0)