Skip to content

Commit

Permalink
update test function parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottyPoi committed Dec 12, 2024
1 parent a5e7df5 commit b210511
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/portalnetwork/test/wire/utp/utp.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ describe('PortalNetworkUTP test', async () => {
networkId,
RequestCode.FOUNDCONTENT_WRITE,
enr,
connectionId,
socketIds[RequestCode.FOUNDCONTENT_WRITE].sndId,
socketIds[RequestCode.FOUNDCONTENT_WRITE].rcvId,
Buffer.from('test'),
Expand All @@ -151,6 +152,7 @@ describe('PortalNetworkUTP test', async () => {
networkId,
RequestCode.FINDCONTENT_READ,
enr,
connectionId,
socketIds[RequestCode.FINDCONTENT_READ].sndId,
socketIds[RequestCode.FINDCONTENT_READ].rcvId,
)
Expand All @@ -173,6 +175,7 @@ describe('PortalNetworkUTP test', async () => {
networkId,
RequestCode.OFFER_WRITE,
enr,
connectionId,
socketIds[RequestCode.OFFER_WRITE].sndId,
socketIds[RequestCode.OFFER_WRITE].rcvId,
Buffer.from('test'),
Expand All @@ -190,6 +193,7 @@ describe('PortalNetworkUTP test', async () => {
networkId,
RequestCode.ACCEPT_READ,
enr,
connectionId,
socketIds[RequestCode.ACCEPT_READ].sndId,
socketIds[RequestCode.ACCEPT_READ].rcvId,
)
Expand Down

0 comments on commit b210511

Please sign in to comment.