-
Notifications
You must be signed in to change notification settings - Fork 299
Conversation
}) | ||
}) | ||
}) | ||
test.files(common) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self: once I get in the add
test PR, rename this file to files-spec.js
, so we don't run the interface files tests twice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thought of this as well, but calling it file.spec.js
since files.spec.js
is taken by the mfs tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wasn't there an issue somewhere about explicitly renaming that to mfs
across js-ipfs? Having trouble finding that..
🐴 LGTM |
@@ -4,6 +4,7 @@ const argCommand = require('../cmd-helpers').argCommand | |||
|
|||
module.exports = (send) => { | |||
return { | |||
cat: argCommand(send, 'cat'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a mistake, should not be here
return cat | ||
} | ||
|
||
function cleanMultihash (multihash) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is defined in src/api/object.js
too. Could you toss it into a module in src/
?
closing in favor of #292 where others can edit. |
This begins the js-ipfs-api cat command using the interace-core tests shared with the js-ipfs core tests.
This needs the completition of the cat interface-core PR