summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2023-12-23 11:29:48 +0100
committerGitHub <noreply@github.com>2023-12-23 10:29:48 +0000
commit6550495282780abaaa4c1aa4d33e3907fedf2927 (patch)
tree48d176ccac8a802e1bf03caf175d0f02c124cc97 /test
parent76c52d2ea08d9764c8f044c1f3a8c1eaf6434828 (diff)
move dictionary files to dictionary folder (#429)
Diffstat (limited to 'test')
-rw-r--r--test/database.test.js4
-rw-r--r--test/fixtures/translator-test.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/database.test.js b/test/database.test.js
index 86c69a41..4a52f18d 100644
--- a/test/database.test.js
+++ b/test/database.test.js
@@ -22,8 +22,8 @@ import path from 'path';
import {beforeEach, describe, expect, test, vi} from 'vitest';
import {parseJson} from '../dev/json.js';
import {createDictionaryArchive} from '../dev/util.js';
-import {DictionaryDatabase} from '../ext/js/language/dictionary-database.js';
-import {DictionaryImporter} from '../ext/js/language/dictionary-importer.js';
+import {DictionaryDatabase} from '../ext/js/dictionary/dictionary-database.js';
+import {DictionaryImporter} from '../ext/js/dictionary/dictionary-importer.js';
import {DictionaryImporterMediaLoader} from './mocks/dictionary-importer-media-loader.js';
const dirname = path.dirname(fileURLToPath(import.meta.url));
diff --git a/test/fixtures/translator-test.js b/test/fixtures/translator-test.js
index 0afbe1f0..83644513 100644
--- a/test/fixtures/translator-test.js
+++ b/test/fixtures/translator-test.js
@@ -24,8 +24,8 @@ import {expect, vi} from 'vitest';
import {parseJson} from '../../dev/json.js';
import {createDictionaryArchive} from '../../dev/util.js';
import {AnkiNoteDataCreator} from '../../ext/js/data/sandbox/anki-note-data-creator.js';
-import {DictionaryDatabase} from '../../ext/js/language/dictionary-database.js';
-import {DictionaryImporter} from '../../ext/js/language/dictionary-importer.js';
+import {DictionaryDatabase} from '../../ext/js/dictionary/dictionary-database.js';
+import {DictionaryImporter} from '../../ext/js/dictionary/dictionary-importer.js';
import {JapaneseUtil} from '../../ext/js/language/sandbox/japanese-util.js';
import {Translator} from '../../ext/js/language/translator.js';
import {chrome, fetch} from '../mocks/common.js';