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:
Calixte Denizet 2026-04-29 15:35:20 +02:00
parent 0c5eaeeac6
commit 9a247e51b4
No known key found for this signature in database
GPG Key ID: 0C5442631EE0691F

View File

@ -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();
}