Skip to content

Commit 2cf4c72

Browse files
committed
lint fixes.
1 parent a6a4a5d commit 2cf4c72

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

packages/firestore/src/local/indexeddb_schema_converter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ export class SchemaConverter implements SimpleDbSchemaConverter {
485485
);
486486

487487
const promises: Array<PersistencePromise<void>> = [];
488-
let userToDocumentSet = new Map<string, DocumentKeySet>();
488+
const userToDocumentSet = new Map<string, DocumentKeySet>();
489489

490490
return mutationsStore
491491
.loadAll()

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,11 +1138,7 @@ describe('IndexedDbSchema: createOrUpgradeDb', () => {
11381138
DbDocumentMutationKey,
11391139
DbDocumentMutation
11401140
>(DbDocumentMutationStore);
1141-
const mutationQueuesStore = txn.store<
1142-
DbMutationQueueKey,
1143-
DbMutationQueue
1144-
>(DbMutationQueueStore);
1145-
// Manually populate the mutation queue and create all indicies.
1141+
// Manually populate the mutations.
11461142
return PersistencePromise.forEach(
11471143
testMutations,
11481144
(testMutation: DbMutationBatch) => {
@@ -1183,7 +1179,6 @@ describe('IndexedDbSchema: createOrUpgradeDb', () => {
11831179
// We should have a total of 4 overlays:
11841180
// For user1: testWriteFoo
11851181
// For user2: testWriteBar, testWriteBaz, and testWritePending
1186-
// For user3: NO OVERLAYS!
11871182
let p = documentOverlayStore.count().next(count => {
11881183
expect(count).to.equal(4);
11891184
});

0 commit comments

Comments
 (0)