X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git;a=blobdiff_plain;f=tests%2Fspec%2Ftests.js;h=f3ffbbfcdb3d0bdd2e6385c80d59a7d2bc7c4739;hp=4f774e8d0693ee7b85165f5d6664185793ed4e18;hb=0fd67b5915a08168d31caaa581f55cf86591be73;hpb=1c2b8c6b2d77cdb0162f040c07d25bbe7cafe7c2 diff --git a/tests/spec/tests.js b/tests/spec/tests.js index 4f774e8..f3ffbbf 100644 --- a/tests/spec/tests.js +++ b/tests/spec/tests.js @@ -2504,31 +2504,6 @@ it('Uses ltub by default for litecoin, but can be set to xprv', function(done) { }); }); -// BIP32 tab can use P2WPKH Nested In P2SH -// github issue 91 part 2 -// https://github.com/iancoleman/bip39/issues/91 -// generate new addresses from xpub? -it('Uses xprv by default for litecoin, but can be set to ltpv', function(done) { - // use p2wpkh addresses - driver.executeScript(function() { - $(".p2wpkh-nested-in-p2sh").prop("checked", true); - }); - // use bip32 tab - driver.findElement(By.css('#bip32-tab a')) - .click() - // use testnet - selectNetwork("BTC - Bitcoin Testnet"); - // Set root xpub to BIP49 official test vector account 0 - driver.findElement(By.css('.root-key')) - .sendKeys("tpubDD7tXK8KeQ3YY83yWq755fHY2JW8Ha8Q765tknUM5rSvjPcGWfUppDFMpQ1ScziKfW3ZNtZvAD7M3u7bSs7HofjTD3KP3YxPK7X6hwV8Rk2"); - driver.sleep(generateDelay).then(function() { - getFirstAddress(function(address) { - expect(address).toBe("2Mww8dCYPUpKHofjgcXcBCEGmniw9CoaiD2"); - done(); - }); - }); -}); - // github issue 99 // https://github.com/iancoleman/bip39/issues/99#issuecomment-327094159 // "warn me emphatically when they have detected invalid input" to the entropy field