(a: SessionKey, b: SessionKey)
| 189 | } |
| 190 | |
| 191 | function expectSameSessionKeys(a: SessionKey, b: SessionKey) { |
| 192 | expect(Buffer.from(a.data).equals(Buffer.from(b.data))).toBe(true); |
| 193 | expect(a.algorithm).toBe(b.algorithm); |
| 194 | expect(a.aeadAlgorithm).toBe(b.aeadAlgorithm); |
| 195 | } |
no test coverage detected