Skip to content

Commit

Permalink
test: enable blob.prototype.stream tests
Browse files Browse the repository at this point in the history
Signed-off-by: James M Snell <jasnell@gmail.com>
  • Loading branch information
jasnell committed Aug 7, 2021
1 parent 7eb128a commit 51fcc3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/wpt/status/FileAPI/blob.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
"Blob-slice.any.js": {
"skip": "Depends on File API"
},
"Blob-stream.any.js": {
"skip": "Depends on Web Streams API"
},
"Blob-in-worker.worker.js": {
"skip": "Depends on Web Workers API"
}
Expand Down
2 changes: 2 additions & 0 deletions test/wpt/test-blob.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ 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();

0 comments on commit 51fcc3e

Please sign in to comment.