diff --git a/js/src/files/ls.js b/js/src/files/ls.js index 17618739c..ff7fd4d06 100644 --- a/js/src/files/ls.js +++ b/js/src/files/ls.js @@ -54,8 +54,8 @@ module.exports = (createCommon, options) => { ipfs.files.ls(testDir, (err, info) => { expect(err).to.not.exist() expect(info).to.eql([ - { name: 'b', type: 0, size: 0, hash: '' }, - { name: 'lv1', type: 0, size: 0, hash: '' } + { name: 'lv1', type: 0, size: 0, hash: '' }, + { name: 'b', type: 0, size: 0, hash: '' } ]) done() })