Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit ab26a4e

Browse files
committed
test: add some interop tests for private neworking
test: add skips for tests that timeout test: add additional pnet tests temporarily use a temp branch of pull-reader for testing test: add test for go getting data from js test: add tests for go to go
1 parent 4bfac3c commit ab26a4e

File tree

4 files changed

+435
-0
lines changed

4 files changed

+435
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,4 @@ test/test-data/go-ipfs-repo/LOG.old
4040

4141
# while testing npm5
4242
package-lock.json
43+
yarn.lock

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"ipfs-api": "^22.0.0",
5959
"ipfsd-ctl": "~0.37.0",
6060
"left-pad": "^1.3.0",
61+
"libp2p-pnet": "github:libp2p/js-libp2p-pnet#feat/initial",
6162
"libp2p-websocket-star-rendezvous": "~0.2.3",
6263
"lodash": "^4.17.10",
6364
"mocha": "^5.2.0",
@@ -68,6 +69,15 @@
6869
"stream-to-promise": "^2.2.0",
6970
"transform-loader": "^0.2.4"
7071
},
72+
"resolutions": {
73+
"ipfs": "github:ipfs/js-ipfs#feat/priv-net",
74+
"ipfs-repo": "github:ipfs/js-ipfs-repo#feat/pnet",
75+
"ipfsd-ctl": "github:ipfs/js-ipfsd-ctl#master",
76+
"libp2p-pnet": "github:libp2p/js-libp2p-pnet#feat/initial",
77+
"libp2p": "github:libp2p/js-libp2p#feat/priv-net",
78+
"libp2p-switch": "github:libp2p/js-libp2p-switch#feat/priv-net",
79+
"pull-reader": "github:jacobheun/pull-reader#overreading"
80+
},
7181
"dependencies": {},
7282
"contributors": []
7383
}

test/node.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ require('./repo')
66
require('./exchange-files')
77
require('./kad-dht')
88
require('./pubsub')
9+
require('./pnet')

0 commit comments

Comments
 (0)