Skip to content

Commit

Permalink
test: remove useless WPT init scripts
Browse files Browse the repository at this point in the history
PR-URL: #47221
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
  • Loading branch information
KhafraDev authored and panva committed Mar 28, 2023
1 parent fe449a2 commit 9dfd039
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions test/wpt/test-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
5 changes: 0 additions & 5 deletions test/wpt/test-structured-clone.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

0 comments on commit 9dfd039

Please sign in to comment.