Update titles type
This commit is contained in:
parent
54bb702b84
commit
418e7f9968
@ -136,7 +136,9 @@ async function testDatabase1() {
|
|||||||
const testDictionaryIndex = JSON.parse(await testDictionary.files['index.json'].async('string'));
|
const testDictionaryIndex = JSON.parse(await testDictionary.files['index.json'].async('string'));
|
||||||
|
|
||||||
const title = testDictionaryIndex.title;
|
const title = testDictionaryIndex.title;
|
||||||
const titles = [title];
|
const titles = new Map([
|
||||||
|
[title, {priority: 0, allowSecondarySearches: false}]
|
||||||
|
]);
|
||||||
|
|
||||||
// Setup iteration data
|
// Setup iteration data
|
||||||
const iterations = [
|
const iterations = [
|
||||||
@ -815,7 +817,9 @@ async function testDatabase2() {
|
|||||||
const testDictionaryIndex = JSON.parse(await testDictionary.files['index.json'].async('string'));
|
const testDictionaryIndex = JSON.parse(await testDictionary.files['index.json'].async('string'));
|
||||||
|
|
||||||
const title = testDictionaryIndex.title;
|
const title = testDictionaryIndex.title;
|
||||||
const titles = [title];
|
const titles = new Map([
|
||||||
|
[title, {priority: 0, allowSecondarySearches: false}]
|
||||||
|
]);
|
||||||
|
|
||||||
// Setup database
|
// Setup database
|
||||||
const database = new Database();
|
const database = new Database();
|
||||||
|
Loading…
Reference in New Issue
Block a user