Skip to content

Commit

Permalink
Merge pull request mozilla#18998 from Snuffleupagus/Node-enable-XFA-a…
Browse files Browse the repository at this point in the history
…lt-unittest

Enable the "should have an alt attribute from toolTip" unit-test in Node.js
  • Loading branch information
timvandermeij authored Nov 3, 2024
2 parents 3755d68 + faf9e32 commit 7ae21ec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/unit/xfa_tohtml_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* limitations under the License.
*/

import { isNodeJS } from "../../src/shared/util.js";
import { XFAFactory } from "../../src/core/xfa/factory.js";

describe("XFAFactory", function () {
Expand Down Expand Up @@ -145,9 +144,6 @@ describe("XFAFactory", function () {
});

it("should have an alt attribute from toolTip", async () => {
if (isNodeJS) {
pending("Image is not supported in Node.js.");
}
const xml = `
<?xml version="1.0"?>
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
Expand Down

0 comments on commit 7ae21ec

Please sign in to comment.