diff options
Diffstat (limited to 'dev')
-rw-r--r-- | dev/translator-vm.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/translator-vm.js b/dev/translator-vm.js index 7fdda879..60777da0 100644 --- a/dev/translator-vm.js +++ b/dev/translator-vm.js @@ -28,7 +28,7 @@ import {JapaneseUtil} from '../ext/js/language/sandbox/japanese-util.js'; import {Translator} from '../ext/js/language/translator.js'; import {createDictionaryArchive} from './util.js'; -vi.mock('../ext/js/language/dictionary-importer-media-loader.js'); +vi.mock('../ext/js/language/dictionary-importer-media-loader.js', async () => await import('../test/mocks/dictionary-importer-media-loader.js')); const dirname = path.dirname(fileURLToPath(import.meta.url)); |