mirror of
https://github.com/meshcore-dev/meshcore.js.git
synced 2026-04-20 22:13:49 +00:00
Fix last publicKey assertion
This commit is contained in:
parent
3f06efa865
commit
195983d42a
1 changed files with 1 additions and 2 deletions
|
|
@ -82,8 +82,7 @@ describe('Contact Response Parsing', () => {
|
|||
|
||||
const result = await resultPromise;
|
||||
|
||||
assert.strictEqual(result.publicKey.length, 32);
|
||||
assert.strictEqual(result.publicKey[0], 0xCD);
|
||||
assert.deepStrictEqual(result.publicKey, new Uint8Array(32).fill(0xCD));
|
||||
assert.strictEqual(result.type, 2);
|
||||
assert.strictEqual(result.flags, 0x01);
|
||||
assert.strictEqual(result.outPathLen, 3);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue