mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-06-13 03:41:39 +00:00
Fix test
This commit is contained in:
@ -355,8 +355,8 @@ describe("Noise", () => {
|
||||
noiseResp.secureInbound(remotePeer, inboundConnection),
|
||||
]);
|
||||
|
||||
assert(inbound.earlyData.equals(localPeerEarlyData))
|
||||
assert(outbound.earlyData.equals(Buffer.alloc(0)))
|
||||
assert(inbound.remoteEarlyData.equals(localPeerEarlyData))
|
||||
assert(outbound.remoteEarlyData.equals(Buffer.alloc(0)))
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
assert(false, e.message);
|
||||
|
Reference in New Issue
Block a user