@@ -80,7 +80,7 @@ import {
80
80
byteStringFromString
81
81
} from '../../util/helpers' ;
82
82
83
- import { CountingQueryEngine } from './counting_query_engine' ;
83
+ import { CountingQueryEngine , QueryEngineType } from './counting_query_engine' ;
84
84
import * as persistenceHelpers from './persistence_test_helpers' ;
85
85
import { ByteString } from '../../../src/util/byte_string' ;
86
86
@@ -398,7 +398,7 @@ describe('LocalStore w/ Memory Persistence (SimpleQueryEngine)', () => {
398
398
async function initialize ( ) : Promise < LocalStoreComponents > {
399
399
const queryEngine = new CountingQueryEngine (
400
400
new SimpleQueryEngine ( ) ,
401
- 'simple'
401
+ QueryEngineType . Simple
402
402
) ;
403
403
const persistence = await persistenceHelpers . testMemoryEagerPersistence ( ) ;
404
404
const localStore = new LocalStore (
@@ -416,7 +416,7 @@ describe('LocalStore w/ Memory Persistence (IndexFreeQueryEngine)', () => {
416
416
async function initialize ( ) : Promise < LocalStoreComponents > {
417
417
const queryEngine = new CountingQueryEngine (
418
418
new IndexFreeQueryEngine ( ) ,
419
- 'index-free'
419
+ QueryEngineType . IndexFree
420
420
) ;
421
421
const persistence = await persistenceHelpers . testMemoryEagerPersistence ( ) ;
422
422
const localStore = new LocalStore (
@@ -469,7 +469,7 @@ describe('LocalStore w/ IndexedDB Persistence (IndexFreeQueryEngine)', () => {
469
469
async function initialize ( ) : Promise < LocalStoreComponents > {
470
470
const queryEngine = new CountingQueryEngine (
471
471
new IndexFreeQueryEngine ( ) ,
472
- 'index-free'
472
+ QueryEngineType . IndexFree
473
473
) ;
474
474
const persistence = await persistenceHelpers . testIndexedDbPersistence ( ) ;
475
475
const localStore = new MultiTabLocalStore (
0 commit comments