Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

[POC]: Porting WPT utilities in Node.js core #2

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "streams"]
path = streams
url = [email protected]:whatwg/streams.git
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "WIP support for WHATWG Stream in Node",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "node --expose-internals --experimental-worker --expose_gc test/wpt/test-whatwg-streams.js",
"sync": "git submodule update --init"
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions streams
Submodule streams added at 46c3b8
8 changes: 8 additions & 0 deletions test/common/fixtures.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use strict';

const path = require('path');

exports.path = function(...args) {
return path.join(__dirname, '..', 'fixtures', ...args);
};

4 changes: 4 additions & 0 deletions test/common/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
'use strict';

exports.hasIntl = true;

Loading