Skip to content

Commit 7050b29

Browse files
committed
format to pass lint test
1 parent 2e388bc commit 7050b29

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,7 @@ apiDescribe('Queries', (persistence: boolean) => {
12901290
});
12911291

12921292
// eslint-disable-next-line no-restricted-properties
1293-
it ('empty query results are cached', () => {
1293+
(persistence ? it : it.skip)('empty query results are cached', () => {
12941294
// Reproduces https://github.com/firebase/firebase-js-sdk/issues/5873
12951295
return withTestCollection(persistence, {}, async coll => {
12961296
const snapshot1 = await getDocs(coll); // Populate the cache

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ describeSpec('Listens:', [], () => {
324324
}
325325
);
326326

327-
specTest('Individual documents cannot revert', ['exclusive'], () => {
327+
specTest('Individual documents cannot revert', [], () => {
328328
const allQuery = query('collection');
329329
const visibleQuery = query('collection', filter('visible', '==', true));
330330
const docAv1 = doc('collection/a', 1000, { visible: true, v: 'v1000' });

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

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,6 @@ export class SpecBuilder {
288288
resume?.resumeToken,
289289
resume?.readTime
290290
);
291-
console.log("?")
292291
this.currentStep = {
293292
userListen: { targetId, query: SpecBuilder.queryToSpec(query) },
294293
expectedState: { activeTargets: { ...this.activeTargets } }
@@ -822,19 +821,10 @@ export class SpecBuilder {
822821
version: TestSnapshotVersion,
823822
...docs: Document[]
824823
): this {
825-
console.log(...docs)
826824
this.watchAcks(query);
827-
console.log("1")
828825
this.watchSends({ affects: [query] }, ...docs);
829-
console.log("1")
830-
831826
this.watchCurrents(query, 'resume-token-' + version);
832-
console.log("1")
833-
834827
this.watchSnapshots(version);
835-
836-
console.log("version",version)
837-
838828
return this;
839829
}
840830

@@ -919,7 +909,7 @@ export class SpecBuilder {
919909
metadata: events.metadata && events.metadata.map(SpecBuilder.docToSpec),
920910
errorCode: mapRpcCodeFromCode(events.errorCode),
921911
fromCache: events.fromCache || false,
922-
hasPendingWrites: events.hasPendingWrites || false,
912+
hasPendingWrites: events.hasPendingWrites || false
923913
});
924914
return this;
925915
}

0 commit comments

Comments
 (0)