File tree 1 file changed +11
-6
lines changed 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ import { DefaultComponents } from '../../src/components.js'
34
34
import { StubbedInstance , stubInterface } from 'sinon-ts'
35
35
import { yamux } from '@chainsafe/libp2p-yamux'
36
36
import { EventEmitter } from '@libp2p/interfaces/events'
37
+ import { logger } from '@libp2p/logger'
37
38
38
39
const addrs = [
39
40
multiaddr ( '/ip4/127.0.0.1/tcp/0' ) ,
@@ -664,7 +665,10 @@ describe('libp2p.upgrader', () => {
664
665
webSockets ( )
665
666
] ,
666
667
streamMuxers : [
667
- yamux ( )
668
+ yamux ( {
669
+ log : logger ( 'yamux:local' )
670
+ } )
671
+ // mplex()
668
672
] ,
669
673
connectionEncryption : [
670
674
plaintext ( )
@@ -678,7 +682,10 @@ describe('libp2p.upgrader', () => {
678
682
webSockets ( )
679
683
] ,
680
684
streamMuxers : [
681
- yamux ( )
685
+ yamux ( {
686
+ log : logger ( 'yamux:remote' )
687
+ } )
688
+ // mplex()
682
689
] ,
683
690
connectionEncryption : [
684
691
plaintext ( )
@@ -726,8 +733,7 @@ describe('libp2p.upgrader', () => {
726
733
webSockets ( )
727
734
] ,
728
735
streamMuxers : [
729
- yamux ( ) ,
730
- mplex ( )
736
+ yamux ( )
731
737
] ,
732
738
connectionEncryption : [
733
739
plaintext ( )
@@ -741,8 +747,7 @@ describe('libp2p.upgrader', () => {
741
747
webSockets ( )
742
748
] ,
743
749
streamMuxers : [
744
- yamux ( ) ,
745
- mplex ( )
750
+ yamux ( )
746
751
] ,
747
752
connectionEncryption : [
748
753
plaintext ( )
You can’t perform that action at this time.
0 commit comments