node/test/wpt/test-streams.js
Filip Skokan 68e83901f3 test: update WPT resources, common, streams, FileAPI, broadcastchannel
PR-URL: https://github.com/nodejs/node/pull/46912
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2023-03-07 10:19:23 +01:00

11 lines
244 B
JavaScript

'use strict';
const { WPTRunner } = require('../common/wpt');
const runner = new WPTRunner('streams');
// Set a script that will be executed in the worker before running the tests.
runner.pretendGlobalThisAs('Window');
runner.runJsTests();