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

Commit 08f785a

Browse files
committed
test: make lint pass by handling the error
1 parent 78c0537 commit 08f785a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/util.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ describe('.util', () => {
110110

111111
it('.urlAdd http with redirection', (done) => {
112112
ipfs.util.addFromURL('http://covers.openlibrary.org/book/id/969165.jpg', (err, result) => {
113+
expect(err).to.not.exist()
113114
expect(result[0].hash).to.equal('QmaL9zy7YUfvWmtD5ZXp42buP7P4xmZJWFkm78p8FJqgjg')
114115
done()
115116
})

0 commit comments

Comments
 (0)