Merge pull request #21193 from calixteman/fix_intermittent_hangul

Fix the intermittent test failure 'performs a search in a text containing some Hangul syllables'
This commit is contained in:
Tim van der Meij 2026-04-29 15:50:49 +02:00 committed by GitHub
commit 2979253338
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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