Fix test with NodeJS check

This commit is contained in:
Edoardo Cavazza 2025-10-30 14:02:26 +01:00
parent 9b058bfa80
commit afcf507d02

View File

@ -252,6 +252,9 @@ describe("textLayer", function () {
});
it("handles lang attribute for marked content", async function () {
if (isNodeJS) {
pending("document.createElement is not supported in Node.js.");
}
const loadingTask = getDocument(
buildGetDocumentParams("marked_content_lang.pdf")
);