Skip to content

Commit cd61c7d

Browse files
committed
Bring back tests.
1 parent a5b06da commit cd61c7d

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -578,22 +578,22 @@ function compareDocsWithCreateTime(
578578
);
579579
}
580580

581-
// describe('LocalStore w/ Memory Persistence', () => {
582-
// async function initialize(): Promise<LocalStoreComponents> {
583-
// const queryEngine = new CountingQueryEngine();
584-
// const persistence = await persistenceHelpers.testMemoryEagerPersistence();
585-
// const localStore = newLocalStore(
586-
// persistence,
587-
// queryEngine,
588-
// User.UNAUTHENTICATED,
589-
// JSON_SERIALIZER
590-
// );
591-
// return { queryEngine, persistence, localStore };
592-
// }
593-
//
594-
// addEqualityMatcher();
595-
// genericLocalStoreTests(initialize, /* gcIsEager= */ true);
596-
// });
581+
describe('LocalStore w/ Memory Persistence', () => {
582+
async function initialize(): Promise<LocalStoreComponents> {
583+
const queryEngine = new CountingQueryEngine();
584+
const persistence = await persistenceHelpers.testMemoryEagerPersistence();
585+
const localStore = newLocalStore(
586+
persistence,
587+
queryEngine,
588+
User.UNAUTHENTICATED,
589+
JSON_SERIALIZER
590+
);
591+
return { queryEngine, persistence, localStore };
592+
}
593+
594+
addEqualityMatcher();
595+
genericLocalStoreTests(initialize, /* gcIsEager= */ true);
596+
});
597597

598598
describe('LocalStore w/ IndexedDB Persistence', () => {
599599
if (!IndexedDbPersistence.isAvailable()) {

0 commit comments

Comments
 (0)