From 254764bc9221915480ba0e10c78c988047cf7338 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 19 Nov 2024 16:44:14 -0800 Subject: [PATCH] Use arrow notation for tests. --- test/derive-accounts.test.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.34.1