Skip to content

Commit 6c18143

Browse files
committed
index_backfiller.test.ts: fix build
1 parent 04ab201 commit 6c18143

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

packages/firestore/test/unit/local/index_backfiller.test.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { IndexBackfiller } from '../../../src/local/index_backfiller';
2323
import { IndexedDbPersistence } from '../../../src/local/indexeddb_persistence';
2424
import { LocalStore } from '../../../src/local/local_store';
2525
import {
26-
localStoreEnableIndexAutoCreation,
26+
localStoreInstallFieldIndexPlugins,
2727
newLocalStore
2828
} from '../../../src/local/local_store_impl';
2929
import { Persistence } from '../../../src/local/persistence';
@@ -49,8 +49,6 @@ import * as PersistenceTestHelpers from './persistence_test_helpers';
4949
import { JSON_SERIALIZER } from './persistence_test_helpers';
5050
import { TestDocumentOverlayCache } from './test_document_overlay_cache';
5151
import { TestIndexManager } from './test_index_manager';
52-
import { IndexedDbIndexManagerFieldIndexPluginFactoryImpl } from '../../../src/local/indexeddb_index_manager';
53-
import { QueryEngineFieldIndexPluginFactoryImpl } from '../../../src/local/query_engine';
5452

5553
describe('IndexedDb IndexBackfiller', () => {
5654
if (!IndexedDbPersistence.isAvailable()) {
@@ -83,11 +81,7 @@ function genericIndexBackfillerTests(
8381
User.UNAUTHENTICATED,
8482
JSON_SERIALIZER
8583
);
86-
localStoreEnableIndexAutoCreation(
87-
localStore,
88-
new QueryEngineFieldIndexPluginFactoryImpl(),
89-
new IndexedDbIndexManagerFieldIndexPluginFactoryImpl()
90-
);
84+
localStoreInstallFieldIndexPlugins(localStore);
9185

9286
remoteDocumentCache = persistence.getRemoteDocumentCache();
9387
remoteDocumentCache.setIndexManager(localStore.indexManager);

0 commit comments

Comments
 (0)