Skip to content

Commit 9a247e5

Browse files
committed
Fix the intermittent test failure 'performs a search in a text containing some Hangul syllables'
The patch cb8055f changed the worker source so just set it as it was.
1 parent 0c5eaee commit 9a247e5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

test/unit/jasmine-boot.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,8 @@ async function initializePDFJS(callback) {
117117
"The `gulp unittest` command cannot be used in Node.js environments."
118118
);
119119
}
120-
// Configure the worker. Point at the raw source so the webserver can
121-
// instrument it on request and the worker accumulates `__coverage__`.
122-
GlobalWorkerOptions.workerSrc = "../../src/pdf.worker.js";
120+
// Configure the worker.
121+
GlobalWorkerOptions.workerSrc = "../../build/generic/build/pdf.worker.mjs";
123122

124123
callback();
125124
}

0 commit comments

Comments
 (0)