From 68f379703f0f5a5617a0c0f502ece901d9d83de0 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 5 Dec 2024 08:17:42 -0800 Subject: [PATCH] Missed an import. Adjust its assertions while we are here. --- perf/account.perf.mjs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/perf/account.perf.mjs b/perf/account.perf.mjs index 3b27cc8..831f275 100644 --- a/perf/account.perf.mjs +++ b/perf/account.perf.mjs @@ -4,8 +4,7 @@ 'use strict' import '#test/GLOBALS.mjs' -import { test } from 'node:test' -import { strict as assert } from 'assert' +import { describe, expect, test } from '@jest/globals' import { NANO_TEST_VECTORS } from '#test/TEST_VECTORS.js' import { Bip44Wallet, Blake2bWallet } from '#dist/main.js' @@ -17,7 +16,7 @@ test('BIP-44 ckd', async () => { const accounts = await wallet.accounts(0, 0x7fff) - assert.equal(accounts.length, 0x8000) + expect(accounts.length).toEqual(0x8000) }) test('BLAKE2b ckd', async () => { @@ -26,5 +25,5 @@ test('BLAKE2b ckd', async () => { const accounts = await wallet.accounts(0, 0x7fff) - assert.equal(accounts.length, 0x8000) + expect(accounts.length).toEqual(0x8000) }) -- 2.34.1