-
Notifications
You must be signed in to change notification settings - Fork 124
feat: add tests for add data using File DOM api #461
Conversation
The code for these three PRs LGTM 👍 I wonder if it would make sense to put the shared util code into this repo (interface-js-ipfs-core) instead of having another repo (js-ipfs-utils), so that there is less overhead in terms of releases etc when there are changes made to the utils code? |
Yeah I also thought of that, and discussed a bit with Alan and because this repo is only tests a new repo seemed appropriate. Release overhead is a strong point I can revert utils into this repo if we all agree. |
@@ -125,7 +138,7 @@ module.exports = (createCommon, options) => { | |||
|
|||
ipfs.add(data, (err) => { | |||
expect(err).to.exist() | |||
expect(err.message).to.contain('invalid input') | |||
expect(err.message).to.contain('Input not supported') |
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.
Does this pass when these tests are run against js-ipfs-http-client
?
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.
yes
ping @hugomrdias |
65fa506
to
1a98fab
Compare
depends on:
https://github.com/hugomrdias/js-ipfs-utils