interface MockNetworkComponents {
    connectionManager: ConnectionManager;
    events: TypedEventTarget<Libp2pEvents<ServiceMap>>;
    logger: ComponentLogger;
    peerId: PeerId;
    privateKey: PrivateKey;
    pubsub?: PubSub<PubSubEvents>;
    registrar: Registrar;
}

Properties

connectionManager: ConnectionManager
peerId: PeerId
privateKey: PrivateKey
registrar: Registrar