Skip to content

Commit e69c0fb

Browse files
Cleanup
1 parent 8367203 commit e69c0fb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/firestore/src/local/indexeddb_remote_document_cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ class IndexedDbRemoteDocumentCacheImpl implements IndexedDbRemoteDocumentCache {
334334
}
335335

336336
/**
337-
* Decodes `remoteDoc` and returns the document (or an invalid document, if
337+
* Decodes `remoteDoc` and returns the document (or an invalid document if
338338
* the document corresponds to the format used for sentinel deletes).
339339
*/
340340
private maybeDecodeDocument(

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,13 @@ async function withForcedPersistence(
213213
function addDocs(
214214
txn: SimpleDbTransaction,
215215
keys: string[],
216-
ver: number
216+
version: number
217217
): PersistencePromise<void> {
218218
const remoteDocumentStore = txn.store<DbRemoteDocumentKey, DbRemoteDocument>(
219219
DbRemoteDocument.store
220220
);
221221
return PersistencePromise.forEach(keys, (key: string) => {
222-
const remoteDoc = doc(key, ver, { data: 'foo' });
222+
const remoteDoc = doc(key, version, { data: 'foo' });
223223
const dbRemoteDoc = toDbRemoteDocument(TEST_SERIALIZER, remoteDoc);
224224
return remoteDocumentStore.put(remoteDoc.key.path.toArray(), dbRemoteDoc);
225225
});

0 commit comments

Comments
 (0)