Skip to content

Commit

Permalink
test: enable test stat with ipfs paths (ipfs-inactive#328)
Browse files Browse the repository at this point in the history
Not sure why this is still skipped.
  • Loading branch information
achingbrain authored and alanshaw committed Jul 17, 2018
1 parent 0a843b3 commit 7ed2b58
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions js/src/files/stat.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,14 @@ module.exports = (createCommon, options) => {
})
})

// TODO: (achingbrain) - Not yet supported in js-ipfs or go-ipfs yet')
it.skip('should stat outside of mfs', function (done) {
it('should stat outside of mfs', function (done) {
ipfs.files.stat('/ipfs/' + fixtures.smallFile.cid, (err, stat) => {
expect(err).to.not.exist()
expect(stat).to.eql({
type: 'file',
blocks: 0,
size: 12,
hash: 'Qma4hjFTnCasJ8PVp3mZbZK5g2vGDT4LByLJ7m8ciyRFZP',
hash: fixtures.smallFile.cid,
cumulativeSize: 20,
withLocality: false,
local: undefined,
Expand Down

0 comments on commit 7ed2b58

Please sign in to comment.