diff --git a/packages/transport-webrtc/test/basics.spec.ts b/packages/transport-webrtc/test/basics.spec.ts index 4a233efd8b..122d91efdc 100644 --- a/packages/transport-webrtc/test/basics.spec.ts +++ b/packages/transport-webrtc/test/basics.spec.ts @@ -60,7 +60,7 @@ describe('basics', () => { async function connectNodes (): Promise { const remoteAddr = remoteNode.getMultiaddrs() .filter(ma => WebRTC.exactMatch(ma)).pop() -console.info(remoteNode.getMultiaddrs()) + if (remoteAddr == null) { throw new Error('Remote peer could not listen on relay') }