aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Coleman <ian@iancoleman.io>2020-02-06 20:11:09 +1100
committerIan Coleman <ian@iancoleman.io>2020-02-06 20:11:09 +1100
commita67554c649438a4c16feb9806e48ce6dc8f4be75 (patch)
tree397d4913afa6e86e08ad3c6cc92ffc01662551d7 /tests
parent0bc6361db4de780d159d810bd109659433ca2adc (diff)
downloadBIP39-a67554c649438a4c16feb9806e48ce6dc8f4be75.tar.gz
BIP39-a67554c649438a4c16feb9806e48ce6dc8f4be75.tar.zst
BIP39-a67554c649438a4c16feb9806e48ce6dc8f4be75.zip
Add tests for RSK network and testnet
Diffstat (limited to 'tests')
-rw-r--r--tests/spec/tests.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/spec/tests.js b/tests/spec/tests.js
index a2e39f1..b2c3add 100644
--- a/tests/spec/tests.js
+++ b/tests/spec/tests.js
@@ -1642,6 +1642,20 @@ it('Allows selection of EtherCore', function(done) {
1642 }; 1642 };
1643 testNetwork(done, params); 1643 testNetwork(done, params);
1644}); 1644});
1645it('Allows selection of RBTC - RSK', function(done) {
1646 var params = {
1647 selectText: "RBTC - RSK",
1648 firstAddress: "RGtz5TDdtviAZ9haz1YAUNQzcGVFm5bQrP",
1649 };
1650 testNetwork(done, params);
1651});
1652it('Allows selection of tRBTC - RSK Testnet', function(done) {
1653 var params = {
1654 selectText: "tRBTC - RSK Testnet",
1655 firstAddress: "RHkrWgnSdJHxQAqEsMErhUUa4icXY6xUUC",
1656 };
1657 testNetwork(done, params);
1658});
1645 1659
1646// BIP39 seed is set from phrase 1660// BIP39 seed is set from phrase
1647it('Sets the bip39 seed from the prhase', function(done) { 1661it('Sets the bip39 seed from the prhase', function(done) {