(shouldChange, first, second)
| 30 | const secondPublicKey = dh.getPublicKey(); |
| 31 | const secondPrivateKey = dh.getPrivateKey(); |
| 32 | function changed(shouldChange, first, second) { |
| 33 | if (shouldChange) { |
| 34 | assert.notDeepStrictEqual(first, second); |
| 35 | } else { |
| 36 | assert.deepStrictEqual(first, second); |
| 37 | } |
| 38 | } |
| 39 | changed(expected.includes('public'), firstPublicKey, secondPublicKey); |
| 40 | changed(expected.includes('private'), firstPrivateKey, secondPrivateKey); |
| 41 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…