diff --git a/test/unit/xfa_tohtml_spec.js b/test/unit/xfa_tohtml_spec.js
index 294573d89f3ac..e4284963926b0 100644
--- a/test/unit/xfa_tohtml_spec.js
+++ b/test/unit/xfa_tohtml_spec.js
@@ -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 = `