@@ -44,7 +44,7 @@ import {
44
44
withTestDocAndInitialData
45
45
} from '../util/helpers' ;
46
46
47
- apiDescribe ( 'Snapshot Listener source options ' , persistence => {
47
+ apiDescribe . only ( 'Snapshot Listener source options ' , persistence => {
48
48
// eslint-disable-next-line no-restricted-properties
49
49
( persistence . gc === 'lru' ? describe : describe . skip ) (
50
50
'listen to persistence cache' ,
@@ -132,7 +132,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
132
132
await getDocs ( coll ) ; // Populate the cache.
133
133
const testQuery = query (
134
134
coll ,
135
- where ( 'k ' , '>' , 'a' ) ,
135
+ where ( 'sort ' , '>' , 0 ) ,
136
136
orderBy ( 'sort' , 'asc' )
137
137
) ;
138
138
@@ -304,7 +304,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
304
304
const storeDefaultEvent = new EventsAccumulator < QuerySnapshot > ( ) ;
305
305
const testQuery = query (
306
306
coll ,
307
- where ( 'k ' , '>=' , 'b' ) ,
307
+ where ( 'sort ' , '>=' , 1 ) ,
308
308
orderBy ( 'sort' , 'asc' )
309
309
) ;
310
310
@@ -346,7 +346,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
346
346
const storeCacheEvent = new EventsAccumulator < QuerySnapshot > ( ) ;
347
347
const testQuery = query (
348
348
coll ,
349
- where ( 'k ' , '> =' , 'b' ) ,
349
+ where ( 'sort ' , '! =' , 0 ) ,
350
350
orderBy ( 'sort' , 'asc' )
351
351
) ;
352
352
@@ -394,7 +394,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
394
394
await getDocs ( coll ) ; // Populate the cache.
395
395
const testQuery = query (
396
396
coll ,
397
- where ( 'k ' , '!=' , 'a' ) ,
397
+ where ( 'sort ' , '!=' , 0 ) ,
398
398
orderBy ( 'sort' , 'asc' )
399
399
) ;
400
400
@@ -435,7 +435,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
435
435
await getDocs ( coll ) ; // Populate the cache.
436
436
const testQuery = query (
437
437
coll ,
438
- where ( 'k ' , '!=' , 'a' ) ,
438
+ where ( 'sort ' , '!=' , 0 ) ,
439
439
orderBy ( 'sort' , 'asc' )
440
440
) ;
441
441
@@ -509,7 +509,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
509
509
return withTestCollection ( persistence , testDocs , async coll => {
510
510
const testQuery = query (
511
511
coll ,
512
- where ( 'k ' , '> ' , 'a' ) ,
512
+ where ( 'sort ' , '!= ' , 0 ) ,
513
513
orderBy ( 'sort' , 'asc' )
514
514
) ;
515
515
@@ -554,7 +554,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
554
554
return withTestCollection ( persistence , testDocs , async coll => {
555
555
const testQuery = query (
556
556
coll ,
557
- where ( 'k ' , '> ' , 'a' ) ,
557
+ where ( 'sort ' , '!= ' , 0 ) ,
558
558
orderBy ( 'sort' , 'asc' )
559
559
) ;
560
560
@@ -599,7 +599,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
599
599
return withTestCollection ( persistence , testDocs , async coll => {
600
600
const testQuery = query (
601
601
coll ,
602
- where ( 'k ' , '>' , 'a' ) ,
602
+ where ( 'sort ' , '>' , 0 ) ,
603
603
orderBy ( 'sort' , 'asc' )
604
604
) ;
605
605
@@ -738,7 +738,7 @@ apiDescribe('Snapshot Listener source options ', persistence => {
738
738
return withTestCollection ( persistence , testDocs , async ( coll , db ) => {
739
739
const testQuery = query (
740
740
coll ,
741
- where ( 'k ' , '>' , 'a' ) ,
741
+ where ( 'sort ' , '>' , 0 ) ,
742
742
orderBy ( 'sort' , 'asc' )
743
743
) ;
744
744
0 commit comments