From: Chris Duncan Date: Sun, 26 Apr 2026 21:38:40 +0000 (-0700) Subject: Remove duplicate test and fix test that will always fail in NodeJS. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=3bf6d934e5aca98c4a5a7bfe6f67055504167da6;p=libnemo.git Remove duplicate test and fix test that will always fail in NodeJS. --- 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)