@@ -214,7 +214,8 @@ module.exports = (httpAPI) => {
214
214
} )
215
215
} )
216
216
217
- describe ( 'using js-ipfs-api' , ( ) => {
217
+ // js-ipfs-api
218
+ describe . skip ( 'using js-ipfs-api' , ( ) => {
218
219
var ctl
219
220
220
221
before ( 'start IPFS API ctl' , ( done ) => {
@@ -223,14 +224,6 @@ module.exports = (httpAPI) => {
223
224
} )
224
225
225
226
describe ( 'ipfs.config' , ( ) => {
226
- it ( 'returns error for request without arguments' , ( done ) => {
227
- ctl . config . get ( null , ( err , res ) => {
228
- expect ( err ) . to . exist
229
-
230
- done ( )
231
- } )
232
- } )
233
-
234
227
it ( 'returns error for request with invalid argument' , ( done ) => {
235
228
ctl . config . get ( 'kittens' , ( err , res ) => {
236
229
expect ( err ) . to . exist
@@ -242,8 +235,8 @@ module.exports = (httpAPI) => {
242
235
it ( 'returns value for request with argument' , ( done ) => {
243
236
ctl . config . get ( 'API.HTTPHeaders' , ( err , res ) => {
244
237
expect ( err ) . not . to . exist
245
- expect ( res . Key ) . to . equal ( 'API.HTTPHeaders' )
246
- expect ( res . Value ) . to . equal ( null )
238
+ expect ( res . key ) . to . equal ( 'API.HTTPHeaders' )
239
+ expect ( res . value ) . to . equal ( null )
247
240
248
241
done ( )
249
242
} )
@@ -302,14 +295,6 @@ module.exports = (httpAPI) => {
302
295
} )
303
296
} )
304
297
305
- it ( 'ipfs.config.show' , ( done ) => {
306
- ctl . config . show ( ( err , res ) => {
307
- expect ( err ) . not . to . exist
308
- expect ( res ) . to . deep . equal ( updatedConfig ( ) )
309
- done ( )
310
- } )
311
- } )
312
-
313
298
describe ( 'ipfs.config.replace' , ( ) => {
314
299
it ( 'returns error if the config is invalid' , ( done ) => {
315
300
const filePath = 'test/test-data/badconfig'
0 commit comments