From 9a247e51b4f04ffc9f8902ddbfbd5714218b938f Mon Sep 17 00:00:00 2001 From: Calixte Denizet Date: Wed, 29 Apr 2026 15:35:20 +0200 Subject: [PATCH] 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. --- test/unit/jasmine-boot.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/unit/jasmine-boot.js b/test/unit/jasmine-boot.js index 44c461ff5..6c10293ee 100644 --- a/test/unit/jasmine-boot.js +++ b/test/unit/jasmine-boot.js @@ -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(); }