File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -505,10 +505,11 @@ export class DocumentSnapshot<
505505
506506 toJSON ( ) : object {
507507 const document = this . _document ;
508- const result : any = { } ;
508+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
509+ const result : any = { } ;
509510 result [ 'bundle' ] = '' ;
510511 result [ 'source' ] = 'DocumentSnapshot' ;
511-
512+
512513 if (
513514 ! document ||
514515 ! document . isValidDocument ( ) ||
@@ -698,7 +699,8 @@ export class QuerySnapshot<
698699 }
699700
700701 toJSON ( ) : object {
701- const result : any = { } ;
702+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
703+ const result : any = { } ;
702704 result [ 'source' ] = 'QuerySnapshot' ;
703705 const builder : BundleBuilder = new BundleBuilder (
704706 this . _firestore ,
Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ apiDescribe('Queries', persistence => {
101101 expect ( jsonBundle ) . to . not . be . null ;
102102 // eslint-disable-next-line @typescript-eslint/no-explicit-any
103103 const json = ( jsonBundle as any ) . bundle ;
104- console . log ( "DEDB checking if json exists" ) ;
105104 expect ( json ) . to . exist ;
106105 expect ( json . length ) . to . be . greaterThan ( 0 ) ;
107106
@@ -110,7 +109,6 @@ apiDescribe('Queries', persistence => {
110109 const docRef = doc ( db , path ! ) ;
111110 await loadBundle ( db , json ) ;
112111 const docSnap = await getDocFromCache ( docRef ) ;
113- console . log ( "DEDB checking if docSnap exists" ) ;
114112 expect ( docSnap . exists ) ;
115113 expect ( docSnap . data ( ) ) . to . deep . equal ( testDocs . a ) ;
116114 } ) ;
You can’t perform that action at this time.
0 commit comments