@@ -108,7 +108,7 @@ describe('firestore.Transaction', function () {
108
108
await firebase . firestore ( ) . runTransaction ( async t => {
109
109
const docSnapshot = await t . get ( docRef ) ;
110
110
docSnapshot . constructor . name . should . eql ( 'FirestoreDocumentSnapshot' ) ;
111
- docSnapshot . exists . should . eql ( true ) ;
111
+ docSnapshot . exists ( ) . should . eql ( true ) ;
112
112
docSnapshot . id . should . eql ( 'get-delete' ) ;
113
113
114
114
t . delete ( docRef ) ;
@@ -146,10 +146,10 @@ describe('firestore.Transaction', function () {
146
146
} ) ;
147
147
148
148
const snapshot1 = await docRef1 . get ( ) ;
149
- snapshot1 . exists . should . eql ( false ) ;
149
+ snapshot1 . exists ( ) . should . eql ( false ) ;
150
150
151
151
const snapshot2 = await docRef2 . get ( ) ;
152
- snapshot2 . exists . should . eql ( false ) ;
152
+ snapshot2 . exists ( ) . should . eql ( false ) ;
153
153
} ) ;
154
154
} ) ;
155
155
@@ -212,11 +212,11 @@ describe('firestore.Transaction', function () {
212
212
} ;
213
213
214
214
const snapshot1 = await docRef1 . get ( ) ;
215
- snapshot1 . exists . should . eql ( true ) ;
215
+ snapshot1 . exists ( ) . should . eql ( true ) ;
216
216
snapshot1 . data ( ) . should . eql ( jet . contextify ( expected ) ) ;
217
217
218
218
const snapshot2 = await docRef2 . get ( ) ;
219
- snapshot2 . exists . should . eql ( true ) ;
219
+ snapshot2 . exists ( ) . should . eql ( true ) ;
220
220
snapshot2 . data ( ) . should . eql ( jet . contextify ( expected ) ) ;
221
221
} ) ;
222
222
} ) ;
@@ -484,7 +484,7 @@ describe('firestore.Transaction', function () {
484
484
await runTransaction ( db , async t => {
485
485
const docSnapshot = await t . get ( docRef ) ;
486
486
docSnapshot . constructor . name . should . eql ( 'FirestoreDocumentSnapshot' ) ;
487
- docSnapshot . exists . should . eql ( true ) ;
487
+ docSnapshot . exists ( ) . should . eql ( true ) ;
488
488
docSnapshot . id . should . eql ( 'get-delete' ) ;
489
489
490
490
t . delete ( docRef ) ;
@@ -521,10 +521,10 @@ describe('firestore.Transaction', function () {
521
521
} ) ;
522
522
523
523
const snapshot1 = await getDoc ( docRef1 ) ;
524
- snapshot1 . exists . should . eql ( false ) ;
524
+ snapshot1 . exists ( ) . should . eql ( false ) ;
525
525
526
526
const snapshot2 = await getDoc ( docRef2 ) ;
527
- snapshot2 . exists . should . eql ( false ) ;
527
+ snapshot2 . exists ( ) . should . eql ( false ) ;
528
528
} ) ;
529
529
} ) ;
530
530
@@ -588,11 +588,11 @@ describe('firestore.Transaction', function () {
588
588
} ;
589
589
590
590
const snapshot1 = await getDoc ( docRef1 ) ;
591
- snapshot1 . exists . should . eql ( true ) ;
591
+ snapshot1 . exists ( ) . should . eql ( true ) ;
592
592
snapshot1 . data ( ) . should . eql ( jet . contextify ( expected ) ) ;
593
593
594
594
const snapshot2 = await getDoc ( docRef2 ) ;
595
- snapshot2 . exists . should . eql ( true ) ;
595
+ snapshot2 . exists ( ) . should . eql ( true ) ;
596
596
snapshot2 . data ( ) . should . eql ( jet . contextify ( expected ) ) ;
597
597
} ) ;
598
598
} ) ;
0 commit comments