summaryrefslogtreecommitdiff
path: root/benches/translator.bench.js
diff options
context:
space:
mode:
Diffstat (limited to 'benches/translator.bench.js')
-rw-r--r--benches/translator.bench.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/translator.bench.js b/benches/translator.bench.js
index 8b9b5118..1b621af6 100644
--- a/benches/translator.bench.js
+++ b/benches/translator.bench.js
@@ -25,7 +25,7 @@ import {createFindKanjiOptions, createFindTermsOptions} from '../test/utilities/
const dirname = path.dirname(fileURLToPath(import.meta.url));
const dictionaryName = 'Test Dictionary 2';
-const translator = await createTranslatorContext(path.join(dirname, '..', 'test', 'data/dictionaries/valid-dictionary1'), dictionaryName);
+const {translator} = await createTranslatorContext(path.join(dirname, '..', 'test', 'data/dictionaries/valid-dictionary1'), dictionaryName);
describe('Translator', () => {
const testInputsFilePath = path.join(dirname, '..', 'test', 'data/translator-test-inputs.json');