From: Chris Duncan Date: Wed, 20 Nov 2024 00:44:14 +0000 (-0800) Subject: Use arrow notation for tests. X-Git-Tag: v0.0.21~5 X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=254764bc9221915480ba0e10c78c988047cf7338;p=libnemo.git Use arrow notation for tests. --- diff --git a/test/derive-accounts.test.mjs b/test/derive-accounts.test.mjs index 616e3a2..d5ea22e 100644 --- a/test/derive-accounts.test.mjs +++ b/test/derive-accounts.test.mjs @@ -9,7 +9,7 @@ import { strict as assert } from 'assert' import { NANO_TEST_VECTORS } from './TEST_VECTORS.js' import { Bip44Wallet, Blake2bWallet, LedgerWallet } from '../dist/main.js' -describe('derive child accounts from the same seed', async function () { +describe('derive child accounts from the same seed', async () => { const wallet = await Bip44Wallet.fromSeed(NANO_TEST_VECTORS.PASSWORD, NANO_TEST_VECTORS.BIP39_SEED) await wallet.unlock(NANO_TEST_VECTORS.PASSWORD) @@ -87,7 +87,7 @@ describe('Ledger device accounts', { skip: true }, async () => { }) describe('child key derivation performance', { skip: true }, async () => { - it('performance test of BIP-44 ckd', async function () { + it('performance test of BIP-44 ckd', async () => { const wallet = await Bip44Wallet.create(NANO_TEST_VECTORS.PASSWORD) await wallet.unlock(NANO_TEST_VECTORS.PASSWORD) @@ -96,7 +96,7 @@ describe('child key derivation performance', { skip: true }, async () => { assert.equal(accounts.length, 0x8000) }) - it('performance test of BLAKE2b ckd', async function () { + it('performance test of BLAKE2b ckd', async () => { const wallet = await Blake2bWallet.create(NANO_TEST_VECTORS.PASSWORD) await wallet.unlock(NANO_TEST_VECTORS.PASSWORD)