aboutsummaryrefslogtreecommitdiff
path: root/test/test-database.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-22 12:58:33 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-22 12:58:33 -0500
commita54f44122a3a245c1b1579c15b2faf9d50c15c55 (patch)
treefb701bca745170f76a82e445182ec85f619c8ca5 /test/test-database.js
parent4daf3435c24592352261c1186626abdc86beefb4 (diff)
Update location of test dictionary data
Diffstat (limited to 'test/test-database.js')
-rw-r--r--test/test-database.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-database.js b/test/test-database.js
index 801f9925..216ae5dd 100644
--- a/test/test-database.js
+++ b/test/test-database.js
@@ -121,7 +121,7 @@ async function clearDatabase() {
async function testDatabase1() {
// Load dictionary data
- const testDictionary = yomichanTest.createTestDictionaryArchive();
+ const testDictionary = yomichanTest.createTestDictionaryArchive('valid-dictionary1');
const testDictionarySource = await testDictionary.generateAsync({type: 'string'});
const testDictionaryIndex = JSON.parse(await testDictionary.files['index.json'].async('string'));
@@ -800,7 +800,7 @@ async function testFindTagForTitle1(database, title) {
async function testDatabase2() {
// Load dictionary data
- const testDictionary = yomichanTest.createTestDictionaryArchive();
+ const testDictionary = yomichanTest.createTestDictionaryArchive('valid-dictionary1');
const testDictionarySource = await testDictionary.generateAsync({type: 'string'});
const testDictionaryIndex = JSON.parse(await testDictionary.files['index.json'].async('string'));