mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
test: remove useless WPT init scripts
PR-URL: https://github.com/nodejs/node/pull/46801 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
parent
620fd3b030
commit
2e5cb5b1f7
@ -4,11 +4,4 @@ const { WPTRunner } = require('../common/wpt');
|
||||
|
||||
const runner = new WPTRunner('FileAPI/blob');
|
||||
|
||||
runner.setInitScript(`
|
||||
const { Blob } = require('buffer');
|
||||
const { ReadableStream } = require('stream/web');
|
||||
global.Blob = Blob;
|
||||
global.ReadableStream = ReadableStream;
|
||||
`);
|
||||
|
||||
runner.runJsTests();
|
||||
|
@ -4,9 +4,4 @@ const { WPTRunner } = require('../common/wpt');
|
||||
|
||||
const runner = new WPTRunner('webmessaging/broadcastchannel');
|
||||
|
||||
runner.setInitScript(`
|
||||
const { BroadcastChannel } = require('worker_threads');
|
||||
global.BroadcastChannel = BroadcastChannel;
|
||||
`);
|
||||
|
||||
runner.runJsTests();
|
||||
|
@ -3,9 +3,4 @@
|
||||
const { WPTRunner } = require('../common/wpt');
|
||||
const runner = new WPTRunner('encoding');
|
||||
|
||||
runner.setInitScript(`
|
||||
const { MessageChannel } = require('worker_threads');
|
||||
global.MessageChannel = MessageChannel;
|
||||
`);
|
||||
|
||||
runner.runJsTests();
|
||||
|
Loading…
Reference in New Issue
Block a user