This repository was archived by the owner on Mar 10, 2020. It is now read-only.
File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 66
66
"gulp" : " ^3.9.1" ,
67
67
"hapi" : " ^16.1.0" ,
68
68
"interface-ipfs-core" : " ~0.24.1" ,
69
- "ipfsd-ctl" : " ~0.18.2 " ,
69
+ "ipfsd-ctl" : " ~0.18.3 " ,
70
70
"pre-commit" : " ^1.2.2" ,
71
71
"socket.io" : " ^1.7.2" ,
72
72
"socket.io-client" : " ^1.7.2" ,
73
- "stream-equal" : " ^0.1.12 "
73
+ "stream-equal" : " ^0.1.13 "
74
74
},
75
75
"pre-commit" : [
76
76
" lint" ,
124
124
"url" : " https://github.com/ipfs/js-ipfs-api/issues"
125
125
},
126
126
"homepage" : " https://github.com/ipfs/js-ipfs-api"
127
- }
127
+ }
Original file line number Diff line number Diff line change @@ -13,15 +13,13 @@ const path = require('path')
13
13
const loadFixture = require ( 'aegir/fixtures' )
14
14
const FactoryClient = require ( './ipfs-factory/client' )
15
15
16
- let testfile
16
+ const testfile = loadFixture ( __dirname , '/fixtures/testfile.txt' )
17
17
let testfileBig
18
18
let tfbPath
19
+
19
20
if ( isNode ) {
20
21
tfbPath = path . join ( __dirname , '/fixtures/15mb.random' )
21
22
testfileBig = fs . createReadStream ( tfbPath , { bufferSize : 128 } )
22
- testfile = loadFixture ( __dirname , '/fixtures/testfile.txt' )
23
- } else {
24
- testfile = loadFixture ( __dirname , 'fixtures/testfile.txt' )
25
23
}
26
24
27
25
describe ( '.get' , ( ) => {
You can’t perform that action at this time.
0 commit comments