From 249dad37a00046a2236c3b742d0795c5b6476dba Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Fri, 24 Apr 2026 00:02:04 -0700 Subject: [PATCH] Skip PoW test in NodeJS. --- test/test.blocks.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.blocks.mjs b/test/test.blocks.mjs index 15d84f0..46b94dd 100644 --- a/test/test.blocks.mjs +++ b/test/test.blocks.mjs @@ -4,7 +4,7 @@ 'use strict' import { Block, Rpc, Wallet } from 'libnemo' -import { assert, suite, test } from './GLOBALS.mjs' +import { assert, isNode, suite, test } from './GLOBALS.mjs' import { CUSTOM_TEST_VECTORS, NANO_TEST_VECTORS } from './VECTORS.mjs' await Promise.all([ @@ -12,7 +12,7 @@ await Promise.all([ const { OPEN_BLOCK } = NANO_TEST_VECTORS const rpc = new Rpc('https://example.com') - await test('generate work automatically when processing block', async () => { + await test('generate work automatically when processing block', { skip: isNode }, async () => { const block = await new Block(OPEN_BLOCK.account, '0', OPEN_BLOCK.previous, OPEN_BLOCK.representative) .receive(OPEN_BLOCK.link, OPEN_BLOCK.balance) .sign(OPEN_BLOCK.key) -- 2.47.3