From: Chris Duncan Date: Mon, 22 Sep 2025 20:01:43 +0000 (-0700) Subject: Fix map size property. X-Git-Tag: v0.10.5~12^2~14 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=dcf96a9429c4d220ac704e5faddc886cdf266ac8;p=libnemo.git Fix map size property. --- diff --git a/test/perf.account.mjs b/test/perf.account.mjs index 3f5880e..cc77c64 100644 --- a/test/perf.account.mjs +++ b/test/perf.account.mjs @@ -29,7 +29,7 @@ await Promise.all([ const end = performance.now() console.log(`Total: ${end - start} ms`) console.log(`Average: ${(end - start) / COUNT} ms`) - assert.equal(accounts.length, COUNT) + assert.equal(accounts.size, COUNT) await wallet.destroy() }) @@ -43,7 +43,7 @@ await Promise.all([ const end = performance.now() console.log(`Total: ${end - start} ms`) console.log(`Average: ${(end - start) / COUNT} ms`) - assert.equal(accounts.length, COUNT) + assert.equal(accounts.size, COUNT) await wallet.destroy() })