From 0101bd26d2117c844bb726b3da42716d0efd932a Mon Sep 17 00:00:00 2001 From: David Dias Date: Wed, 29 Mar 2017 20:47:59 +0100 Subject: [PATCH] test: make sure that libp2p-webrtc-star is not valid websockets --- test/index.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/index.spec.js b/test/index.spec.js index 831bc7d..bf1b3b5 100644 --- a/test/index.spec.js +++ b/test/index.spec.js @@ -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 = [