]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blobdiff - tests/spec/tests.js
Convert mnemonic to hex entropy instead of binary
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / tests / spec / tests.js
index bdc5909acef7cdb2350bd2501a6e07d09a6f9075..fefb8b75392ffd2149910d579b51abec907b3757 100644 (file)
@@ -4243,7 +4243,7 @@ it('Converts mnemonics into raw entropy', function(done) {
         driver.findElement(By.css('.entropy'))
             .getAttribute("value")
             .then(function(entropy) {
-                expect(entropy).toBe("00000000000000000000000000000001");
+                expect(entropy).toBe("00000001");
                 driver.findElement(By.css('.phrase'))
                     .getAttribute("value")
                     .then(function(phrase) {