1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00

Merge pull request #18998 from Snuffleupagus/Node-enable-XFA-alt-unittest

Enable the "should have an alt attribute from toolTip" unit-test in Node.js
This commit is contained in:
Tim van der Meij 2024-11-03 11:10:54 +01:00 committed by GitHub
commit 7ae21ece4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 () {
@ -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/">