Enable the "should have an alt attribute from toolTip" unit-test in Node.js
Despite the pending-message mentioning "Image", this appears to be another case where the code actually depends on [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob#browser_compatibility); note cf3ca8b5bc/src/core/xfa/template.js (L3453)
This commit is contained in:
parent
cf3ca8b5bc
commit
faf9e32ecb
@ -13,7 +13,6 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { isNodeJS } from "../../src/shared/util.js";
|
|
||||||
import { XFAFactory } from "../../src/core/xfa/factory.js";
|
import { XFAFactory } from "../../src/core/xfa/factory.js";
|
||||||
|
|
||||||
describe("XFAFactory", function () {
|
describe("XFAFactory", function () {
|
||||||
@ -145,9 +144,6 @@ describe("XFAFactory", function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("should have an alt attribute from toolTip", async () => {
|
it("should have an alt attribute from toolTip", async () => {
|
||||||
if (isNodeJS) {
|
|
||||||
pending("Image is not supported in Node.js.");
|
|
||||||
}
|
|
||||||
const xml = `
|
const xml = `
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user