Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaclennan committed Oct 16, 2023
1 parent 2796fc9 commit d089fa9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/helpers/core-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ export function createCoreManager({
export function replicate(
cm1,
cm2,
{
// Keep keypairs deterministic for tests, since we use peer.publicKey as an identifier.
kp1 = NoiseSecretStream.keyPair(Buffer.allocUnsafe(32).fill(0)),
kp2 = NoiseSecretStream.keyPair(Buffer.allocUnsafe(32).fill(1)),
} = {}
{ kp1 = NoiseSecretStream.keyPair(), kp2 = NoiseSecretStream.keyPair() } = {}
) {
const n1 = new NoiseSecretStream(true, undefined, { keyPair: kp1 })
const n2 = new NoiseSecretStream(false, undefined, { keyPair: kp2 })
Expand Down

0 comments on commit d089fa9

Please sign in to comment.