Skip to content

Commit e64df6e

Browse files
[AUTOMATED]: Prettier Code Styling
1 parent dd0fa3c commit e64df6e

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

packages/firestore/src/model/document.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export class NoDocument extends MaybeDocument {
141141
isEqual(other: MaybeDocument | null | undefined): boolean {
142142
return (
143143
other instanceof NoDocument &&
144-
other.hasCommittedMutations == this.hasCommittedMutations &&
144+
other.hasCommittedMutations == this.hasCommittedMutations &&
145145
other.version.isEqual(this.version) &&
146146
other.key.isEqual(this.key)
147147
);

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ function genericLocalStoreTests(
531531
.toContain(deletedDoc('foo/bar', 0))
532532
.afterAcknowledgingMutation({ documentVersion: 1 })
533533
.toReturnRemoved('foo/bar')
534-
.toContain(deletedDoc('foo/bar', 1, {hasCommittedMutations:true}))
534+
.toContain(deletedDoc('foo/bar', 1, { hasCommittedMutations: true }))
535535
.finish();
536536
});
537537

@@ -551,7 +551,7 @@ function genericLocalStoreTests(
551551
.afterReleasingQuery(query)
552552
.afterAcknowledgingMutation({ documentVersion: 2 })
553553
.toReturnRemoved('foo/bar')
554-
.toContain(deletedDoc('foo/bar', 2, {hasCommittedMutations:true}))
554+
.toContain(deletedDoc('foo/bar', 2, { hasCommittedMutations: true }))
555555
.finish()
556556
);
557557
});
@@ -572,7 +572,7 @@ function genericLocalStoreTests(
572572
.afterReleasingQuery(query)
573573
.afterAcknowledgingMutation({ documentVersion: 2 })
574574
.toReturnRemoved('foo/bar')
575-
.toContain(deletedDoc('foo/bar', 2, {hasCommittedMutations:true}))
575+
.toContain(deletedDoc('foo/bar', 2, { hasCommittedMutations: true }))
576576
.finish()
577577
);
578578
});
@@ -685,7 +685,7 @@ function genericLocalStoreTests(
685685
.toContain(deletedDoc('foo/bar', 0))
686686
.afterAcknowledgingMutation({ documentVersion: 2 }) // delete mutation
687687
.toReturnRemoved('foo/bar')
688-
.toContain(deletedDoc('foo/bar', 2, {hasCommittedMutations:true}))
688+
.toContain(deletedDoc('foo/bar', 2, { hasCommittedMutations: true }))
689689
.afterAcknowledgingMutation({ documentVersion: 3 }) // patch mutation
690690
.toReturnChanged(unknownDoc('foo/bar', 3))
691691
.toContain(unknownDoc('foo/bar', 3))

packages/firestore/test/unit/model/mutation.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,9 @@ describe('Mutation', () => {
482482
);
483483
const transformResult = new MutationResult(version(7), []);
484484
const docV7Unknown = unknownDoc('collection/key', 7);
485-
const docV7Deleted = deletedDoc('collection/key', 7, {hasCommittedMutations:true});
485+
const docV7Deleted = deletedDoc('collection/key', 7, {
486+
hasCommittedMutations: true
487+
});
486488
const docV7Committed = doc(
487489
'collection/key',
488490
7,

0 commit comments

Comments
 (0)