@@ -448,12 +448,8 @@ describe('gestaltsDiscoverByIdentity', () => {
448448 nodeConnectionManager = new NodeConnectionManager ( {
449449 keyRing,
450450 nodeGraph,
451- quicClientConfig : {
452- // @ts -ignore: TLS not needed for this test
453- key : undefined ,
454- // @ts -ignore: TLS not needed for this test
455- cert : undefined ,
456- } ,
451+ // @ts -ignore: TLS not needed for this test
452+ tlsConfig : { } ,
457453 crypto,
458454 quicSocket,
459455 connectionConnectTime : 2000 ,
@@ -471,7 +467,7 @@ describe('gestaltsDiscoverByIdentity', () => {
471467 logger,
472468 } ) ;
473469 await nodeManager . start ( ) ;
474- await nodeConnectionManager . start ( { nodeManager } ) ;
470+ await nodeConnectionManager . start ( { nodeManager, handleStream : ( ) => { } } ) ;
475471 discovery = await Discovery . createDiscovery ( {
476472 db,
477473 gestaltGraph,
@@ -637,12 +633,8 @@ describe('gestaltsDiscoverByNode', () => {
637633 nodeConnectionManager = new NodeConnectionManager ( {
638634 keyRing,
639635 nodeGraph,
640- quicClientConfig : {
641- // @ts -ignore: TLS not needed for this test
642- key : undefined ,
643- // @ts -ignore: TLS not needed for this test
644- cert : undefined ,
645- } ,
636+ // @ts -ignore: TLS not needed for this test
637+ tlsConfig : { } ,
646638 crypto,
647639 quicSocket,
648640 connectionConnectTime : 2000 ,
@@ -660,7 +652,7 @@ describe('gestaltsDiscoverByNode', () => {
660652 logger,
661653 } ) ;
662654 await nodeManager . start ( ) ;
663- await nodeConnectionManager . start ( { nodeManager } ) ;
655+ await nodeConnectionManager . start ( { nodeManager, handleStream : ( ) => { } } ) ;
664656 discovery = await Discovery . createDiscovery ( {
665657 db,
666658 gestaltGraph,
@@ -1264,10 +1256,8 @@ describe('gestaltsGestaltTrustByIdentity', () => {
12641256 nodeConnectionManager = new NodeConnectionManager ( {
12651257 keyRing,
12661258 nodeGraph,
1267- quicClientConfig : {
1268- key : tlsConfig . keyPrivatePem ,
1269- cert : tlsConfig . certChainPem ,
1270- } ,
1259+ // @ts -ignore: TLS not needed for this test
1260+ tlsConfig : { } ,
12711261 crypto,
12721262 quicSocket,
12731263 connectionConnectTime : 2000 ,
@@ -1285,7 +1275,7 @@ describe('gestaltsGestaltTrustByIdentity', () => {
12851275 logger,
12861276 } ) ;
12871277 await nodeManager . start ( ) ;
1288- await nodeConnectionManager . start ( { nodeManager } ) ;
1278+ await nodeConnectionManager . start ( { nodeManager, handleStream : ( ) => { } } ) ;
12891279 discovery = await Discovery . createDiscovery ( {
12901280 db,
12911281 gestaltGraph,
@@ -1785,12 +1775,8 @@ describe('gestaltsGestaltTrustByNode', () => {
17851775 nodeConnectionManager = new NodeConnectionManager ( {
17861776 keyRing,
17871777 nodeGraph,
1788- quicClientConfig : {
1789- // @ts -ignore: TLS not needed for this test
1790- key : undefined ,
1791- // @ts -ignore: TLS not needed for this test
1792- cert : undefined ,
1793- } ,
1778+ // @ts -ignore: TLS not needed for this test
1779+ tlsConfig : { } ,
17941780 crypto,
17951781 quicSocket,
17961782 connectionConnectTime : 2000 ,
@@ -1808,10 +1794,10 @@ describe('gestaltsGestaltTrustByNode', () => {
18081794 logger,
18091795 } ) ;
18101796 await nodeManager . start ( ) ;
1811- await nodeConnectionManager . start ( { nodeManager } ) ;
1797+ await nodeConnectionManager . start ( { nodeManager, handleStream : ( ) => { } } ) ;
18121798 await nodeManager . setNode ( nodeIdRemote , {
1813- host : node . quicServerAgent . host as Host ,
1814- port : node . quicServerAgent . port as Port ,
1799+ host : node . quicSocket . host as Host ,
1800+ port : node . quicSocket . port as Port ,
18151801 } ) ;
18161802 discovery = await Discovery . createDiscovery ( {
18171803 db,
0 commit comments