Skip to content

Commit 6a43a05

Browse files
committed
add ws to the webrtc-star add
1 parent aad78e3 commit 6a43a05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/index.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ describe('variants', () => {
286286
})
287287

288288
it('webrtc-star', () => {
289-
const str = '/libp2p-webrtc-star/ip4/127.0.0.1/tcp/9090/ipfs/QmcgpsyWgH8Y8ajJz1Cu72KnS5uo2Aa2LpzU7kinSupNKC'
289+
const str = '/libp2p-webrtc-star/ip4/127.0.0.1/tcp/9090/ws/ipfs/QmcgpsyWgH8Y8ajJz1Cu72KnS5uo2Aa2LpzU7kinSupNKC'
290290
const addr = multiaddr(str)
291291
expect(addr).to.have.property('buffer')
292292
expect(addr.toString()).to.equal(str)

0 commit comments

Comments
 (0)