mirror of https://github.com/nodejs/node.git
16 lines
336 B
JavaScript
16 lines
336 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
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();
|