Skip to content

Commit f35d483

Browse files
committed
Update snasphot_listener_source.test.ts
1 parent a945668 commit f35d483

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import {
4444
withTestDocAndInitialData
4545
} from '../util/helpers';
4646

47-
apiDescribe('Snapshot Listener source options ', persistence => {
47+
apiDescribe.only('Snapshot Listener source options ', persistence => {
4848
// eslint-disable-next-line no-restricted-properties
4949
(persistence.gc === 'lru' ? describe : describe.skip)(
5050
'listen to persistence cache',
@@ -132,7 +132,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
132132
await getDocs(coll); // Populate the cache.
133133
const testQuery = query(
134134
coll,
135-
where('k', '>', 'a'),
135+
where('sort', '>', 0),
136136
orderBy('sort', 'asc')
137137
);
138138

@@ -304,7 +304,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
304304
const storeDefaultEvent = new EventsAccumulator<QuerySnapshot>();
305305
const testQuery = query(
306306
coll,
307-
where('k', '>=', 'b'),
307+
where('sort', '>=', 1),
308308
orderBy('sort', 'asc')
309309
);
310310

@@ -346,7 +346,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
346346
const storeCacheEvent = new EventsAccumulator<QuerySnapshot>();
347347
const testQuery = query(
348348
coll,
349-
where('k', '>=', 'b'),
349+
where('sort', '!=', 0),
350350
orderBy('sort', 'asc')
351351
);
352352

@@ -394,7 +394,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
394394
await getDocs(coll); // Populate the cache.
395395
const testQuery = query(
396396
coll,
397-
where('k', '!=', 'a'),
397+
where('sort', '!=', 0),
398398
orderBy('sort', 'asc')
399399
);
400400

@@ -435,7 +435,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
435435
await getDocs(coll); // Populate the cache.
436436
const testQuery = query(
437437
coll,
438-
where('k', '!=', 'a'),
438+
where('sort', '!=', 0),
439439
orderBy('sort', 'asc')
440440
);
441441

@@ -509,7 +509,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
509509
return withTestCollection(persistence, testDocs, async coll => {
510510
const testQuery = query(
511511
coll,
512-
where('k', '>', 'a'),
512+
where('sort', '!=', 0),
513513
orderBy('sort', 'asc')
514514
);
515515

@@ -554,7 +554,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
554554
return withTestCollection(persistence, testDocs, async coll => {
555555
const testQuery = query(
556556
coll,
557-
where('k', '>', 'a'),
557+
where('sort', '!=', 0),
558558
orderBy('sort', 'asc')
559559
);
560560

@@ -599,7 +599,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
599599
return withTestCollection(persistence, testDocs, async coll => {
600600
const testQuery = query(
601601
coll,
602-
where('k', '>', 'a'),
602+
where('sort', '>', 0),
603603
orderBy('sort', 'asc')
604604
);
605605

@@ -738,7 +738,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
738738
return withTestCollection(persistence, testDocs, async (coll, db) => {
739739
const testQuery = query(
740740
coll,
741-
where('k', '>', 'a'),
741+
where('sort', '>', 0),
742742
orderBy('sort', 'asc')
743743
);
744744

0 commit comments

Comments
 (0)