Add tests for RSK network and testnet
authorIan Coleman <ian@iancoleman.io>
Thu, 6 Feb 2020 09:11:09 +0000 (20:11 +1100)
committerIan Coleman <ian@iancoleman.io>
Thu, 6 Feb 2020 09:11:09 +0000 (20:11 +1100)
tests/spec/tests.js

index a2e39f1aa9c4335faf5899293055cadf867e4720..b2c3addd2da52dd8c049e1a19d46a1fce0a58f5b 100644 (file)
@@ -1642,6 +1642,20 @@ it('Allows selection of EtherCore', function(done) {
     };
     testNetwork(done, params);
 });
+it('Allows selection of RBTC - RSK', function(done) {
+    var params = {
+        selectText: "RBTC - RSK",
+        firstAddress: "RGtz5TDdtviAZ9haz1YAUNQzcGVFm5bQrP",
+    };
+    testNetwork(done, params);
+});
+it('Allows selection of tRBTC - RSK Testnet', function(done) {
+    var params = {
+        selectText: "tRBTC - RSK Testnet",
+        firstAddress: "RHkrWgnSdJHxQAqEsMErhUUa4icXY6xUUC",
+    };
+    testNetwork(done, params);
+});
 
 // BIP39 seed is set from phrase
 it('Sets the bip39 seed from the prhase', function(done) {