Skip to content

Commit

Permalink
test: make sure that libp2p-webrtc-star is not valid websockets
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Mar 29, 2017
1 parent 4d3dd88 commit 0101bd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ describe('multiaddr validation', function () {

const badWS = [
'/ip4/0.0.0.0/tcp/12345/udp/2222/ws',
'/ip6/::/ip4/0.0.0.0/udp/1234/ws'
'/ip6/::/ip4/0.0.0.0/udp/1234/ws',
'/libp2p-webrtc-star/ip4/127.0.0.1/tcp/24642/ws'
]

const badWSS = [
Expand Down

0 comments on commit 0101bd2

Please sign in to comment.