From a008d0780ad0b010e964c076f7a0b1ce09b026bb Mon Sep 17 00:00:00 2001 From: jeromewu Date: Thu, 19 Mar 2020 03:23:56 +0000 Subject: [PATCH] Update tests to use local corePath --- tests/constants.js | 1 + 1 file changed, 1 insertion(+) 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';