We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a843b3 commit 7ed2b58Copy full SHA for 7ed2b58
js/src/files/stat.js
@@ -132,15 +132,14 @@ module.exports = (createCommon, options) => {
132
})
133
134
135
- // TODO: (achingbrain) - Not yet supported in js-ipfs or go-ipfs yet')
136
- it.skip('should stat outside of mfs', function (done) {
+ it('should stat outside of mfs', function (done) {
137
ipfs.files.stat('/ipfs/' + fixtures.smallFile.cid, (err, stat) => {
138
expect(err).to.not.exist()
139
expect(stat).to.eql({
140
type: 'file',
141
blocks: 0,
142
size: 12,
143
- hash: 'Qma4hjFTnCasJ8PVp3mZbZK5g2vGDT4LByLJ7m8ciyRFZP',
+ hash: fixtures.smallFile.cid,
144
cumulativeSize: 20,
145
withLocality: false,
146
local: undefined,
0 commit comments