diff --git a/tests/constants.js b/tests/constants.js index 7f334eb..8c24f7b 100644 --- a/tests/constants.js +++ b/tests/constants.js @@ -5,6 +5,7 @@ const OPTIONS = { cacheMethod: 'readOnly', langPath: 'http://localhost:3000/tests/assets/traineddata', cachePath: './tests/assets/traineddata', + corePath: '../node_modules/tesseract.js-core/tesseract-core.wasm.js', ...(IS_BROWSER ? { workerPath: '../dist/worker.dev.js' } : {}), }; const SIMPLE_TEXT = 'Tesseract.js\n';