From a14de055b3779e18a1a971d01187dce60fa0dd26 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 5 Dec 2024 08:20:52 -0800 Subject: [PATCH] Rename performance test files. --- perf/{account.perf.mjs => account.perf.js} | 0 perf/{wallet.perf.mjs => wallet.perf.js} | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename perf/{account.perf.mjs => account.perf.js} (100%) rename perf/{wallet.perf.mjs => wallet.perf.js} (90%) 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) }) -- 2.34.1