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

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipfs-inactive/js-ipfs-http-client
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 620420af29bc^
Choose a base ref
...
head repository: ipfs-inactive/js-ipfs-http-client
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ccbf5ef6a2f0
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Oct 4, 2015

  1. add failing test

    daviddias committed Oct 4, 2015
    Copy the full SHA
    620420a View commit details
  2. upgrade vinyl to 1.0.0

    daviddias committed Oct 4, 2015
    Copy the full SHA
    ccbf5ef View commit details
Showing with 14 additions and 1 deletion.
  1. +1 −1 package.json
  2. +13 −0 test/test.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
"merge-stream": "^1.0.0",
"multiaddr": "^1.0.0",
"multipart-stream": "^2.0.0",
"vinyl": "^0.5.1",
"vinyl": "^1.0.0",
"vinyl-fs-browser": "^2.1.1-1",
"vinyl-multipart-stream": "^1.2.5"
},
13 changes: 13 additions & 0 deletions test/test.js
Original file line number Diff line number Diff line change
@@ -87,6 +87,19 @@ describe('ipfs node api', function () {
})
})

it('add a whole lot of files, recursively', function (done) {
this.timeout(10000)

ipfs.add(process.cwd() + '/node_modules', { recursive: true }, function (err, res) {
if (err) {
console.log(err)
throw err
}

done()
})
})

it('cat', function (done) {
this.timeout(10000)