Skip to content

Commit

Permalink
Merge pull request #14667 from Snuffleupagus/fieldObjects-test-Node
Browse files Browse the repository at this point in the history
Enable the "gets fieldObjects" unit-test in Node.js (PR 14409 follow-up)
  • Loading branch information
timvandermeij authored Mar 13, 2022
2 parents 9e4aaf1 + fb345ee commit f410403
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/unit/api_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1296,12 +1296,6 @@ describe("api", function () {
});

it("gets fieldObjects", async function () {
if (isNodeJS) {
pending(
"Node.js appears to ignore Object properties that are explicitly " +
"set to `undefined`, thus breaking the expectations used below."
);
}
const loadingTask = getDocument(buildGetDocumentParams("js-authors.pdf"));
const pdfDoc = await loadingTask.promise;
const fieldObjects = await pdfDoc.getFieldObjects();
Expand Down

0 comments on commit f410403

Please sign in to comment.