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 () {
679679 firestore1 . settings ( { persistence : true } ) ;
680680 const indexManager = firestore1 . persistentCacheIndexManager ( ) ;
681681 expect ( indexManager ) . toBeDefined ( ) ;
682- expect ( indexManager . constructor . name ) . toEqual ( 'FirestorePersistentCacheIndexManager' ) ;
682+ expect ( indexManager ! . constructor . name ) . toEqual ( 'FirestorePersistentCacheIndexManager' ) ;
683683
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 ) ;
687687
688688 const firestore2 = firebase . firestore ( ) ;
689689 firestore2 . settings ( { persistence : false } ) ;
You can’t perform that action at this time.
0 commit comments