Skip to content

Commit

Permalink
Merge branch 'main' into firestore_8253
Browse files Browse the repository at this point in the history
  • Loading branch information
jude.kwashie committed Jan 31, 2025
2 parents 02d4ae0 + 79d76ff commit ee4500a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/firestore/__tests__/firestore.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -679,11 +679,11 @@ describe('Firestore', function () {
firestore1.settings({ persistence: true });
const indexManager = firestore1.persistentCacheIndexManager();
expect(indexManager).toBeDefined();
expect(indexManager.constructor.name).toEqual('FirestorePersistentCacheIndexManager');
expect(indexManager!.constructor.name).toEqual('FirestorePersistentCacheIndexManager');

expect(indexManager.enableIndexAutoCreation).toBeInstanceOf(Function);
expect(indexManager.disableIndexAutoCreation).toBeInstanceOf(Function);
expect(indexManager.deleteAllIndexes).toBeInstanceOf(Function);
expect(indexManager!.enableIndexAutoCreation).toBeInstanceOf(Function);
expect(indexManager!.disableIndexAutoCreation).toBeInstanceOf(Function);
expect(indexManager!.deleteAllIndexes).toBeInstanceOf(Function);

const firestore2 = firebase.firestore();
firestore2.settings({ persistence: false });
Expand Down

0 comments on commit ee4500a

Please sign in to comment.