Skip to content

Commit f023559

Browse files
[AUTOMATED]: Prettier Code Styling
1 parent 69bd1fc commit f023559

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ import { MutationQueue } from '../../../src/local/mutation_queue';
2727

2828
/**
2929
* A test-only query engine that forwards all calls to the query engine
30-
* provided at construction time, but provides access to the number of
31-
* documents and mutations read.
30+
* provided at construction time while exposing to the number of documents and
31+
* mutations read.
3232
*/
3333
export class ForwardingCountingQueryEngine implements QueryEngine {
3434
/**
@@ -45,7 +45,7 @@ export class ForwardingCountingQueryEngine implements QueryEngine {
4545

4646
constructor(private readonly queryEngine: QueryEngine) {}
4747

48-
resetCounts() : void {
48+
resetCounts(): void {
4949
this.mutationsRead = 0;
5050
this.documentsRead = 0;
5151
}
@@ -64,9 +64,9 @@ export class ForwardingCountingQueryEngine implements QueryEngine {
6464

6565
setLocalDocumentsView(localDocuments: LocalDocumentsView): void {
6666
const view = new LocalDocumentsView(
67-
this.wrapRemoteDocumentCache(localDocuments.remoteDocumentCache),
68-
this.wrapMutationQueue(localDocuments.mutationQueue),
69-
localDocuments.indexManager
67+
this.wrapRemoteDocumentCache(localDocuments.remoteDocumentCache),
68+
this.wrapMutationQueue(localDocuments.mutationQueue),
69+
localDocuments.indexManager
7070
);
7171

7272
return this.queryEngine.setLocalDocumentsView(view);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ import {
7373
} from '../../util/helpers';
7474

7575
import { FieldValue, IntegerValue } from '../../../src/model/field_value';
76-
import * as persistenceHelpers from './persistence_test_helpers';
7776
import { ForwardingCountingQueryEngine } from './forwarding_counting_query_engine';
77+
import * as persistenceHelpers from './persistence_test_helpers';
7878

7979
class LocalStoreTester {
8080
private promiseChain: Promise<void> = Promise.resolve();

0 commit comments

Comments
 (0)