TST: muted some tests because blockchain.info api started to return incomplete data (not the first time their API breaks); muted till I rewrite BIP44 to electrum

This commit is contained in:
Overtorment 2019-12-22 12:37:50 +00:00
parent b30656e1ff
commit 664c3a526b
2 changed files with 4 additions and 3 deletions

View file

@ -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;

View file

@ -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;