Skip to content

Commit 1fa9aa2

Browse files
[AUTOMATED]: Prettier Code Styling
1 parent e45b40f commit 1fa9aa2

File tree

4 files changed

+9
-12
lines changed

4 files changed

+9
-12
lines changed

packages/firestore/test/integration/api/database.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
withTestDb,
2626
withTestDoc
2727
} from '../util/helpers';
28-
import {query} from '../../util/api_helpers';
28+
import { query } from '../../util/api_helpers';
2929

3030
const Timestamp = firebase.firestore.Timestamp;
3131

@@ -420,7 +420,7 @@ apiDescribe('Database', persistence => {
420420
// client-side validation but fail remotely. May need to wait until we
421421
// have security rules support or something?
422422
xdescribe('Listens are rejected remotely:', () => {
423-
const queryForRejection = query("foo");
423+
const queryForRejection = query('foo');
424424

425425
it('will reject listens', () => {
426426
const deferred = new Deferred();

packages/firestore/test/integration/api/query.test.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ import * as firestore from '@firebase/firestore-types';
2020
import { addEqualityMatcher } from '../../util/equality_matcher';
2121
import { EventsAccumulator } from '../util/events_accumulator';
2222
import firebase from '../util/firebase_export';
23-
import {
24-
apiDescribe,
25-
toDataArray,
26-
withTestCollection
27-
} from '../util/helpers';
23+
import { apiDescribe, toDataArray, withTestCollection } from '../util/helpers';
2824
import { Deferred } from '../../util/promise';
2925

3026
const Timestamp = firebase.firestore.Timestamp;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import {
2525
import { ResourcePath } from '../../../src/model/path';
2626
import { path } from '../../util/helpers';
2727

28-
2928
let db: SimpleDb;
3029
const sep = '\u0001\u0001';
3130

packages/firestore/test/unit/specs/spec_test_runner.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import { expect } from 'chai';
1818
import * as api from '../../../src/protos/firestore_proto_api';
19-
import {EmptyCredentialsProvider, Token} from '../../../src/api/credentials';
19+
import { EmptyCredentialsProvider, Token } from '../../../src/api/credentials';
2020
import { User } from '../../../src/auth/user';
2121
import { DatabaseId, DatabaseInfo } from '../../../src/core/database_info';
2222
import {
@@ -137,7 +137,7 @@ class MockConnection implements Connection {
137137
throw new Error('Not implemented!');
138138
}
139139

140-
invokeStreamingRPC<Req>(rpcName: string, request: Req): never{
140+
invokeStreamingRPC<Req>(rpcName: string, request: Req): never {
141141
throw new Error('Not implemented!');
142142
}
143143

@@ -185,8 +185,10 @@ class MockConnection implements Connection {
185185
this.watchStream = null;
186186
}
187187

188-
openStream<Req, Resp>(rpcName: string,
189-
token: Token | null): Stream<Req, Resp> {
188+
openStream<Req, Resp>(
189+
rpcName: string,
190+
token: Token | null
191+
): Stream<Req, Resp> {
190192
if (rpcName === 'Write') {
191193
if (this.writeStream !== null) {
192194
throw new Error('write stream opened twice');

0 commit comments

Comments
 (0)