From: Chris Duncan Date: Thu, 5 Dec 2024 16:20:52 +0000 (-0800) Subject: Rename performance test files. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=a14de055b3779e18a1a971d01187dce60fa0dd26;p=libnemo.git Rename performance test files. --- diff --git a/perf/account.perf.mjs b/perf/account.perf.js similarity index 100% rename from perf/account.perf.mjs rename to perf/account.perf.js diff --git a/perf/wallet.perf.mjs b/perf/wallet.perf.js similarity index 90% rename from perf/wallet.perf.mjs rename to perf/wallet.perf.js index 9eb3aca..51cb4a8 100644 --- a/perf/wallet.perf.mjs +++ b/perf/wallet.perf.js @@ -15,7 +15,7 @@ test.skip('creating BIP-44 wallets', async () => { for (let i = 0x80; i > 0; i--) { wallets.push(await Bip44Wallet.create(NANO_TEST_VECTORS.PASSWORD)) } - assert.equal(wallets.length, 0x80) + expect(wallets.length).toEqual(0x80) }) test.skip('creating BLAKE2b wallets', async () => { @@ -23,5 +23,5 @@ test.skip('creating BLAKE2b wallets', async () => { for (let i = 0x80; i > 0; i--) { wallets.push(await Blake2bWallet.create(NANO_TEST_VECTORS.PASSWORD)) } - assert.equal(wallets.length, 0x80) + expect(wallets.length).toEqual(0x80) })