Skip to content

Commit 0101bd2

Browse files
committed
test: make sure that libp2p-webrtc-star is not valid websockets
1 parent 4d3dd88 commit 0101bd2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/index.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ describe('multiaddr validation', function () {
8787

8888
const badWS = [
8989
'/ip4/0.0.0.0/tcp/12345/udp/2222/ws',
90-
'/ip6/::/ip4/0.0.0.0/udp/1234/ws'
90+
'/ip6/::/ip4/0.0.0.0/udp/1234/ws',
91+
'/libp2p-webrtc-star/ip4/127.0.0.1/tcp/24642/ws'
9192
]
9293

9394
const badWSS = [

0 commit comments

Comments
 (0)