From 9dfd0394c54edd7ac505ce623edcd4fd9ce3d51e Mon Sep 17 00:00:00 2001 From: Khafra <42794878+KhafraDev@users.noreply.github.com> Date: Wed, 22 Mar 2023 16:12:45 -0400 Subject: [PATCH] test: remove useless WPT init scripts PR-URL: https://github.com/nodejs/node/pull/47221 Reviewed-By: Luigi Pinca Reviewed-By: Filip Skokan Reviewed-By: Yagiz Nizipli --- test/wpt/test-file.js | 5 ----- test/wpt/test-structured-clone.js | 5 ----- 2 files changed, 10 deletions(-) diff --git a/test/wpt/test-file.js b/test/wpt/test-file.js index a48b2fb55299b9..ca337359db263c 100644 --- a/test/wpt/test-file.js +++ b/test/wpt/test-file.js @@ -4,9 +4,4 @@ const { WPTRunner } = require('../common/wpt'); const runner = new WPTRunner('FileAPI/file'); -runner.setInitScript(` - const { File } = require('buffer'); - globalThis.File = File; -`); - runner.runJsTests(); diff --git a/test/wpt/test-structured-clone.js b/test/wpt/test-structured-clone.js index 26edf0607083a9..4dcd44ad6a40bb 100644 --- a/test/wpt/test-structured-clone.js +++ b/test/wpt/test-structured-clone.js @@ -4,9 +4,4 @@ const { WPTRunner } = require('../common/wpt'); const runner = new WPTRunner('html/webappapis/structured-clone'); -runner.setInitScript(` - const { File } = require('buffer'); - globalThis.File = File; -`); - runner.runJsTests();