File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/firestore/__tests__ Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -679,11 +679,11 @@ describe('Firestore', function () {
679
679
firestore1 . settings ( { persistence : true } ) ;
680
680
const indexManager = firestore1 . persistentCacheIndexManager ( ) ;
681
681
expect ( indexManager ) . toBeDefined ( ) ;
682
- expect ( indexManager . constructor . name ) . toEqual ( 'FirestorePersistentCacheIndexManager' ) ;
682
+ expect ( indexManager ! . constructor . name ) . toEqual ( 'FirestorePersistentCacheIndexManager' ) ;
683
683
684
- expect ( indexManager . enableIndexAutoCreation ) . toBeInstanceOf ( Function ) ;
685
- expect ( indexManager . disableIndexAutoCreation ) . toBeInstanceOf ( Function ) ;
686
- expect ( indexManager . deleteAllIndexes ) . toBeInstanceOf ( Function ) ;
684
+ expect ( indexManager ! . enableIndexAutoCreation ) . toBeInstanceOf ( Function ) ;
685
+ expect ( indexManager ! . disableIndexAutoCreation ) . toBeInstanceOf ( Function ) ;
686
+ expect ( indexManager ! . deleteAllIndexes ) . toBeInstanceOf ( Function ) ;
687
687
688
688
const firestore2 = firebase . firestore ( ) ;
689
689
firestore2 . settings ( { persistence : false } ) ;
You can’t perform that action at this time.
0 commit comments