mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-17 11:11:21 +00:00
chore: update aegir and jsdocs for eslint changes (#773)
This commit is contained in:
@ -6,9 +6,10 @@ const AbortController = require('abort-controller')
|
||||
|
||||
/**
|
||||
* Returns both sides of a mocked MultiaddrConnection
|
||||
*
|
||||
* @param {object} options
|
||||
* @param {Multiaddr[]} options.addrs Should contain two addresses for the local and remote peer
|
||||
* @param {PeerId} options.remotePeer The peer that is being "dialed"
|
||||
* @param {Multiaddr[]} options.addrs - Should contain two addresses for the local and remote peer
|
||||
* @param {PeerId} options.remotePeer - The peer that is being "dialed"
|
||||
* @returns {{inbound:MultiaddrConnection, outbound:MultiaddrConnection}}
|
||||
*/
|
||||
module.exports = function mockMultiaddrConnPair ({ addrs, remotePeer }) {
|
||||
|
Reference in New Issue
Block a user