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

Commit c8569a1

Browse files
committed
test: urlAdd with direction bump timeout for slow networks
1 parent 70c8a25 commit c8569a1

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
<a name="20.1.0"></a>
2+
# [20.1.0](https://github.com/ipfs/js-ipfs-api/compare/v20.0.1...v20.1.0) (2018-04-30)
3+
4+
5+
### Bug Fixes
6+
7+
* adding files by pull stream ([2fa16c5](https://github.com/ipfs/js-ipfs-api/commit/2fa16c5))
8+
* handle request errors in addFromURL ([7c5cea5](https://github.com/ipfs/js-ipfs-api/commit/7c5cea5))
9+
* increase timeout for name.publish and fix setup code ([ceb1106](https://github.com/ipfs/js-ipfs-api/commit/ceb1106))
10+
* ipfs add url wrap doesn't work ([#750](https://github.com/ipfs/js-ipfs-api/issues/750)) ([f6f1bf0](https://github.com/ipfs/js-ipfs-api/commit/f6f1bf0))
11+
12+
13+
### Features
14+
15+
* Add offset/length arguments to files.cat ([17967c1](https://github.com/ipfs/js-ipfs-api/commit/17967c1))
16+
* get it ready for release ([#751](https://github.com/ipfs/js-ipfs-api/issues/751)) ([1885af4](https://github.com/ipfs/js-ipfs-api/commit/1885af4))
17+
18+
19+
120
<a name="20.0.1"></a>
221
## [20.0.1](https://github.com/ipfs/js-ipfs-api/compare/v20.0.0...v20.0.1) (2018-04-12)
322

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ipfs-api",
3-
"version": "20.0.1",
3+
"version": "20.1.0",
44
"description": "A client library for the IPFS HTTP API",
55
"main": "src/index.js",
66
"browser": {

test/util.spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ describe('.util', () => {
140140
})
141141
})
142142

143-
it('.urlAdd http with redirection', (done) => {
143+
it('.urlAdd http with redirection', function (done) {
144+
this.timeout(20 * 1000)
145+
144146
ipfs.util.addFromURL('https://coverartarchive.org/release/6e2a1694-d8b9-466a-aa33-b1077b2333c1', (err, result) => {
145147
expect(err).to.not.exist()
146148
expect(result[0].hash).to.equal('QmSUdDvmXuq5YGrL4M3SEz7UZh5eT9WMuAsd9K34sambSj')

0 commit comments

Comments
 (0)