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

Commit cb9700d

Browse files
author
Alan Shaw
committed
fix: ls from outside of mfs test
1 parent 6264299 commit cb9700d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/files/ls.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module.exports = (common, options) => {
6464
const [{
6565
cid
6666
}] = await all(ipfs.add({ path: `/test/${testFileName}`, content: fixtures.smallFile.data }))
67-
const listing = await ipfs.files.ls('/ipfs/' + cid)
67+
const listing = await all(ipfs.files.ls('/ipfs/' + cid))
6868
expect(listing).to.have.length(1)
6969
expect(listing[0].name).to.equal(cid.toString())
7070
})

0 commit comments

Comments
 (0)