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

Commit 7ed2b58

Browse files
achingbrainalanshaw
authored andcommitted
test: enable test stat with ipfs paths (#328)
Not sure why this is still skipped.
1 parent 0a843b3 commit 7ed2b58

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

js/src/files/stat.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,14 @@ module.exports = (createCommon, options) => {
132132
})
133133
})
134134

135-
// TODO: (achingbrain) - Not yet supported in js-ipfs or go-ipfs yet')
136-
it.skip('should stat outside of mfs', function (done) {
135+
it('should stat outside of mfs', function (done) {
137136
ipfs.files.stat('/ipfs/' + fixtures.smallFile.cid, (err, stat) => {
138137
expect(err).to.not.exist()
139138
expect(stat).to.eql({
140139
type: 'file',
141140
blocks: 0,
142141
size: 12,
143-
hash: 'Qma4hjFTnCasJ8PVp3mZbZK5g2vGDT4LByLJ7m8ciyRFZP',
142+
hash: fixtures.smallFile.cid,
144143
cumulativeSize: 20,
145144
withLocality: false,
146145
local: undefined,

0 commit comments

Comments
 (0)