Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit a15da6b

Browse files
committed
test: files.stat is not supported by go-ipfs for non mfs files yet
1 parent e960fcf commit a15da6b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

js/src/files.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,10 +1012,8 @@ module.exports = (common) => {
10121012
before((done) => ipfs.files.add(smallFile.data, done))
10131013

10141014
it('stat outside of mfs', function (done) {
1015-
if (!withGo) {
1016-
console.log('Not supported in js-ipfs yet')
1017-
this.skip()
1018-
}
1015+
console.log('Not supported in js-ipfs or go-ipfs yet')
1016+
this.skip()
10191017

10201018
ipfs.files.stat('/ipfs/' + smallFile.cid, (err, stat) => {
10211019
expect(err).to.not.exist()

0 commit comments

Comments
 (0)