From 3bf6d934e5aca98c4a5a7bfe6f67055504167da6 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sun, 26 Apr 2026 14:38:40 -0700 Subject: [PATCH] Remove duplicate test and fix test that will always fail in NodeJS. --- test/test.blocks.mjs | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/test/test.blocks.mjs b/test/test.blocks.mjs index b7c371d..f78f1f1 100644 --- a/test/test.blocks.mjs +++ b/test/test.blocks.mjs @@ -153,7 +153,7 @@ await Promise.all([ await assert.resolves(wallet.destroy()) }) - await test('fail to sign open block with wallet without user activation', async () => { + await test('fail to sign open block with wallet without user activation', { skip: isNode }, async () => { const wallet = await Wallet.load('BIP-44', PASSWORD, BIP39_SEED) await assert.resolves(wallet.unlock(PASSWORD)) const block = new Block(ADDRESS_0, '0', OPEN_BLOCK.previous, OPEN_BLOCK.representative) @@ -167,18 +167,6 @@ await Promise.all([ await assert.resolves(wallet.destroy()) }) - await test('sign open block with Exodus wallet', async () => { - const wallet = await Wallet.load('Exodus', PASSWORD, EXODUS.BIP39_SEED_0) - await assert.resolves(wallet.unlock(PASSWORD)) - - const block = new Block(EXODUS.ADDRESS_0, '0', OPEN_BLOCK.previous, OPEN_BLOCK.representative) - .receive(OPEN_BLOCK.link, OPEN_BLOCK.balance) - await wallet.sign(0, block) - assert.ok(await block.verify(EXODUS.PUBLIC_0)) - - await wallet.destroy() - }) - await test('fail to sign open block with wallet when locked', async () => { const wallet = await Wallet.load('BIP-44', PASSWORD, BIP39_SEED) const block = new Block(ADDRESS_0, '0', OPEN_BLOCK.previous, OPEN_BLOCK.representative) -- 2.47.3