From d1332c28ea6c74f0e1d96d4e03dc3f344c40f21b Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 12 Dec 2024 12:12:31 -0800 Subject: [PATCH] Fix test name. --- perf/block.perf.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perf/block.perf.js b/perf/block.perf.js index f82b700..210250d 100644 --- a/perf/block.perf.js +++ b/perf/block.perf.js @@ -10,7 +10,7 @@ import { SendBlock, ReceiveBlock } from '#dist/main.js' await suite('Block performance', async () => { const COUNT = 0x1 - await test('Time to calculate proof-of-work for a send block 0x10 times', async () => { + await test(`Time to calculate proof-of-work for a send block ${COUNT} times`, async () => { const times = [] const block = new SendBlock( NANO_TEST_VECTORS.SEND_BLOCK.account, @@ -35,7 +35,7 @@ await suite('Block performance', async () => { console.log(`Geometric: ${geometric} ms`) }) - await test('Time to calculate proof-of-work for a receive block 0x10 times', async () => { + await test(`Time to calculate proof-of-work for a receive block ${COUNT} times`, async () => { const times = [] const block = new ReceiveBlock( NANO_TEST_VECTORS.RECEIVE_BLOCK.account, -- 2.34.1