diff --git a/tests/integration/HDWallet.test.js b/tests/integration/HDWallet.test.js index 6de2c02a0..582e50fbe 100644 --- a/tests/integration/HDWallet.test.js +++ b/tests/integration/HDWallet.test.js @@ -325,7 +325,7 @@ it('Legacy HD (BIP44) can generate addressess based on xpub', async function() { assert.strictEqual(hd._getInternalAddressByIndex(1), '13CW9WWBsWpDUvLtbFqYziWBWTYUoQb4nU'); }); -it('Legacy HD (BIP44) can create TX', async () => { +it.skip('Legacy HD (BIP44) can create TX', async () => { if (!process.env.HD_MNEMONIC) { console.error('process.env.HD_MNEMONIC not set, skipped'); return; @@ -335,6 +335,7 @@ it('Legacy HD (BIP44) can create TX', async () => { assert.ok(hd.validateMnemonic()); await hd.fetchUtxo(); + assert.strictEqual(hd.utxo.length, 4); await hd.getChangeAddressAsync(); // to refresh internal pointer to next free address await hd.getAddressAsync(); // to refresh internal pointer to next free address let txhex = hd.createTx(hd.utxo, 0.0008, 0.000005, '3GcKN7q7gZuZ8eHygAhHrvPa5zZbG5Q1rK'); @@ -379,7 +380,7 @@ it('Legacy HD (BIP44) can fetch UTXO', async function() { ); }); -it('HD breadwallet works', async function() { +it.skip('HD breadwallet works', async function() { if (!process.env.HD_MNEMONIC_BREAD) { console.error('process.env.HD_MNEMONIC_BREAD not set, skipped'); return; diff --git a/tests/integration/hd-segwit-bech32-wallet.test.js b/tests/integration/hd-segwit-bech32-wallet.test.js index 5b2c0ee98..0fd8cc6a2 100644 --- a/tests/integration/hd-segwit-bech32-wallet.test.js +++ b/tests/integration/hd-segwit-bech32-wallet.test.js @@ -208,7 +208,7 @@ describe('Bech32 Segwit HD (BIP84)', () => { assert.strictEqual(hd.getTransactions().length, oldTransactions.length); }); - it('can work with fauty zpub', async () => { + it('can work with faulty zpub', async () => { if (!process.env.FAULTY_ZPUB) { console.error('process.env.FAULTY_ZPUB not set, skipped'); return;