mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-06-01 07:41:00 +02:00
Fix the intermittent test failure 'performs a search in a text containing some Hangul syllables'
The patch cb8055f0a changed the worker source so just set it as it was.
This commit is contained in:
parent
0c5eaeeac6
commit
9a247e51b4
@ -117,9 +117,8 @@ async function initializePDFJS(callback) {
|
||||
"The `gulp unittest` command cannot be used in Node.js environments."
|
||||
);
|
||||
}
|
||||
// Configure the worker. Point at the raw source so the webserver can
|
||||
// instrument it on request and the worker accumulates `__coverage__`.
|
||||
GlobalWorkerOptions.workerSrc = "../../src/pdf.worker.js";
|
||||
// Configure the worker.
|
||||
GlobalWorkerOptions.workerSrc = "../../build/generic/build/pdf.worker.mjs";
|
||||
|
||||
callback();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user