Skip to content

Commit

Permalink
chore: fix pubsub tests
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Jun 27, 2023
1 parent c5b2af1 commit 149c456
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion packages/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
"@libp2p/logger": "^2.0.0",
"@libp2p/peer-collections": "^3.0.0",
"@libp2p/peer-id": "^2.0.0",
"@libp2p/topology": "^4.0.0",
"abortable-iterator": "^5.0.1",
"it-length-prefixed": "^9.0.1",
"it-pipe": "^3.0.1",
Expand Down
8 changes: 2 additions & 6 deletions packages/pubsub/test/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,14 @@ export const ConnectionPair = (): [Connection, Connection] => {
// @ts-expect-error incomplete implementation
newStream: async (protocol: string[]) => Promise.resolve({
...d0,
stat: {
protocol: protocol[0]
}
protocol: protocol[0]
})
},
{
// @ts-expect-error incomplete implementation
newStream: async (protocol: string[]) => Promise.resolve({
...d1,
stat: {
protocol: protocol[0]
}
protocol: protocol[0]
})
}
]
Expand Down

0 comments on commit 149c456

Please sign in to comment.