]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/commitdiff
Remove commented-out lines of code from test
authorIan Coleman <ian@iancoleman.io>
Mon, 15 Jan 2018 23:37:14 +0000 (10:37 +1100)
committerIan Coleman <ian@iancoleman.io>
Mon, 15 Jan 2018 23:37:37 +0000 (10:37 +1100)
tests/spec/tests.js

index 29e45f5dc7d195be651dd0945fb0e4f7fe5dddc9..b30cbe4d86b1c82ff8c8ab4755ebea0f0237469e 100644 (file)
@@ -2869,16 +2869,10 @@ it('LeftPads ethereum keys that are less than 32 bytes', function(done) {
     driver.findElement(By.css('.phrase'))
         .sendKeys('scout sort custom elite radar rare vivid thing trophy gesture cover snake change narrow kite list nation sustain buffalo erode open balance system young');
     driver.sleep(generateDelay).then(function() {
-        driver.findElement(By.css(".address"))
-            .getText()
-            .then(function(address) {
-                expect(address).toBe("0x8943E785B4a5714FC87a3aFAad1eB1FeB602B118");
-                done();
-            });
-        //getFirstAddress(function(address) {
-        //    expect(address).toBe("0x8943E785B4a5714FC87a3aFAad1eB1FeB602B118");
-        //    done();
-        //});
+        getFirstAddress(function(address) {
+            expect(address).toBe("0x8943E785B4a5714FC87a3aFAad1eB1FeB602B118");
+            done();
+        });
     });
 });