File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ describe('variants', () => {
347
347
expect ( addr . toString ( ) ) . to . equal ( str )
348
348
} )
349
349
350
- it ( 'webtransport' , ( ) => {
350
+ it ( 'ip6 webtransport' , ( ) => {
351
351
const str = '/ip6/2001:8a0:7ac5:4201:3ac9:86ff:fe31:7095/udp/4001/quic/webtransport'
352
352
const addr = multiaddr ( str )
353
353
expect ( addr ) . to . have . property ( 'bytes' )
@@ -361,6 +361,13 @@ describe('variants', () => {
361
361
expect ( addr . toString ( ) ) . to . equal ( str )
362
362
} )
363
363
364
+ it ( 'webtransport with certhash' , ( ) => {
365
+ const str = '/ip4/1.2.3.4/udp/4001/quic/webtransport/certhash/uEiAkH5a4DPGKUuOBjYw0CgwjvcJCJMD2K_1aluKR_tpevQ/certhash/uEiAfbgiymPP2_nX7Dgir8B4QkksjHp2lVuJZz0F79Be9JA/p2p/12D3KooWBdmLJjhpgJ9KZgLM3f894ff9xyBfPvPjFNn7MKJpyrC2'
366
+ const addr = multiaddr ( str )
367
+ expect ( addr ) . to . have . property ( 'bytes' )
368
+ expect ( addr . toString ( ) ) . to . equal ( str )
369
+ } )
370
+
364
371
it ( 'unix' , ( ) => {
365
372
const str = '/unix/a/b/c/d/e'
366
373
const addr = multiaddr ( str )
You can’t perform that action at this time.
0 commit comments