aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Coleman <ian@iancoleman.io>2018-03-27 10:31:23 +1100
committerIan Coleman <ian@iancoleman.io>2018-03-27 10:31:23 +1100
commit38122a3d58cef9040b6308fd4d8c393b63bc36b0 (patch)
treeb1bfd4280799f865244b837ce26dc0e2d53ab3ff /tests
parent680b94c1efc9a70d82f611de3e0c3043b395b9dc (diff)
downloadBIP39-38122a3d58cef9040b6308fd4d8c393b63bc36b0.tar.gz
BIP39-38122a3d58cef9040b6308fd4d8c393b63bc36b0.tar.zst
BIP39-38122a3d58cef9040b6308fd4d8c393b63bc36b0.zip
Add test for testnet p2wpkh parameters
Diffstat (limited to 'tests')
-rw-r--r--tests/spec/tests.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/spec/tests.js b/tests/spec/tests.js
index 80add73..64ed71b 100644
--- a/tests/spec/tests.js
+++ b/tests/spec/tests.js
@@ -2968,4 +2968,20 @@ it('Shows the checksum for the entropy with the correct groupings', function(don
2968 }); 2968 });
2969}); 2969});
2970 2970
2971it('Uses vprv for bitcoin testnet p2wpkh', function(done) {
2972 selectNetwork("BTC - Bitcoin Testnet");
2973 driver.findElement(By.css('#bip84-tab a'))
2974 .click()
2975 driver.findElement(By.css('.phrase'))
2976 .sendKeys('abandon abandon ability');
2977 driver.sleep(generateDelay).then(function() {
2978 driver.findElement(By.css('.root-key'))
2979 .getAttribute("value")
2980 .then(function(path) {
2981 expect(path).toBe("vprv9DMUxX4ShgxML9N2YV5CvWEebWrM9aJ5ULpbRRyzyWu6vs4BzTvbfFFrH41N5hVi7MYSfiugd765L3JmAfDM5po36Y8ouCKRDeYQwByCmS7");
2982 done();
2983 })
2984 });
2985});
2986
2971}); 2987});