]> git.codecow.com Git - libnemo.git/commitdiff
Fix map size property.
authorChris Duncan <chris@zoso.dev>
Mon, 22 Sep 2025 20:01:43 +0000 (13:01 -0700)
committerChris Duncan <chris@zoso.dev>
Mon, 22 Sep 2025 20:01:43 +0000 (13:01 -0700)
test/perf.account.mjs

index 3f5880ecc67a59ed65ba78da8dd8e9d033103fdf..cc77c6421f00424e81f5f622078e440ed99880d7 100644 (file)
@@ -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()
                })