Fix test with NodeJS check
This commit is contained in:
parent
9b058bfa80
commit
afcf507d02
@ -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")
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user