]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/commitdiff
Add testcase for TRX
authorzr <zr@coinhub.dev>
Mon, 5 Oct 2020 04:04:14 +0000 (12:04 +0800)
committerzr <zr@coinhub.dev>
Mon, 5 Oct 2020 04:04:14 +0000 (12:04 +0800)
tests/spec/tests.js

index 14cdb8e5a765b307f1d8c81ea5fb4fb875730bf1..d73f17d70cc3bca854d9ba03a18e296f2555e91e 100644 (file)
@@ -2276,6 +2276,17 @@ it('Allows selection of Scribe', function(done) {
     testNetwork(done, params);
 });
 
+it('Allows selection of TRX on Tron', function(done) {
+    var params = {
+        selectText: "TRX - Tron",
+        phrase: "abandon abandon ability",
+        firstAddress: "TA891Fu7vVz595BGQpNX2MCzr7yBcxuoC7",
+        firstPubKey: "0337bbb060e6166066f7f9e59e52f67bc23a6c9d0cbc815b82b6d89112444842e7",
+        firstPrivKey: "3a8fbd0379a815764979de86a3fcda759cb62d49e784e7b2a9a03206c90cfae2",
+    };
+    testNetwork(done, params);
+});
+
 // BIP39 seed is set from phrase
 it('Sets the bip39 seed from the prhase', function(done) {
     driver.findElement(By.css('.phrase'))