This repository was archived by the owner on Mar 10, 2020. It is now read-only.
File tree 2 files changed +17
-2
lines changed
2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ module.exports = configure(({ ky }) => {
8
8
options = options || { }
9
9
10
10
const searchParams = new URLSearchParams ( options . searchParams )
11
- addrs . forEach ( addr => searchParams . append ( 'arg' , addr ) )
11
+ addrs . forEach ( addr => searchParams . append ( 'arg' , ` ${ addr } ` ) )
12
12
13
13
const res = await ky . post ( 'swarm/disconnect' , {
14
14
timeout : options . timeout ,
Original file line number Diff line number Diff line change @@ -70,7 +70,18 @@ describe('interface-ipfs-core tests', () => {
70
70
} ]
71
71
} )
72
72
73
- tests . bootstrap ( commonFactory )
73
+ tests . bootstrap ( commonFactory , {
74
+ skip : [ {
75
+ name : 'should return a list containing the bootstrap peer when called with a valid arg (ip4)' ,
76
+ reason : 'TODO unskip when go-ipfs switches to p2p for libp2p keys'
77
+ } , {
78
+ name : 'should prevent duplicate inserts of bootstrap peers' ,
79
+ reason : 'TODO unskip when go-ipfs switches to p2p for libp2p keys'
80
+ } , {
81
+ name : 'should return a list containing the peer removed when called with a valid arg (ip4)' ,
82
+ reason : 'TODO unskip when go-ipfs switches to p2p for libp2p keys'
83
+ } ]
84
+ } )
74
85
75
86
tests . config ( commonFactory , {
76
87
skip : [
@@ -125,6 +136,10 @@ describe('interface-ipfs-core tests', () => {
125
136
name : 'should ls directory' ,
126
137
reason : 'TODO unskip when go-ipfs supports --long https://github.com/ipfs/go-ipfs/pull/6528'
127
138
} ,
139
+ {
140
+ name : 'should list a file directly' ,
141
+ reason : 'TODO unskip when go-ipfs supports --long https://github.com/ipfs/go-ipfs/pull/6528'
142
+ } ,
128
143
{
129
144
name : 'should ls directory and include metadata' ,
130
145
reason : 'TODO not implemented in go-ipfs yet'
You can’t perform that action at this time.
0 commit comments