From: Chris Duncan Date: Thu, 5 Dec 2024 16:17:42 +0000 (-0800) Subject: Missed an import. Adjust its assertions while we are here. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=68f379703f0f5a5617a0c0f502ece901d9d83de0;p=libnemo.git Missed an import. Adjust its assertions while we are here. --- 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) })