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

Commit 574a54f

Browse files
committed
chore: fix linting. remove unused variable.
License: MIT Signed-off-by: Oli Evans <oli@tableflip.io>
1 parent cd682c2 commit 574a54f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/constructor.spec.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ describe('ipfs-http-client constructor tests', () => {
7676
})
7777

7878
it('error in invalid mutliaddr', () => {
79-
const splitted = apiAddr.split('/')
80-
8179
expect(() => ipfsClient('/dns4')).to.throw('invalid address')
8280
expect(() => ipfsClient('/hello')).to.throw('no protocol with name')
8381
expect(() => ipfsClient('/dns4/ipfs.io')).to.throw('multiaddr must have a valid format')

0 commit comments

Comments
 (0)