mirror of https://github.com/status-im/bip39.git
tests: show mnemonic in test desc.
This commit is contained in:
parent
ed79ca8c29
commit
6a8d7c95dc
|
@ -15,7 +15,7 @@ function testVector (description, wordlist, password, v, i) {
|
||||||
var vmnemonic = v[1]
|
var vmnemonic = v[1]
|
||||||
var vseedHex = v[2]
|
var vseedHex = v[2]
|
||||||
|
|
||||||
test('for ' + description + ' test vector ' + i, function (t) {
|
test('for ' + description + '(' + i + '), ' + ventropy, function (t) {
|
||||||
t.plan(5)
|
t.plan(5)
|
||||||
|
|
||||||
t.equal(bip39.mnemonicToEntropy(vmnemonic, wordlist), ventropy, 'mnemonicToEntropy returns ' + ventropy.slice(0, 40) + '...')
|
t.equal(bip39.mnemonicToEntropy(vmnemonic, wordlist), ventropy, 'mnemonicToEntropy returns ' + ventropy.slice(0, 40) + '...')
|
||||||
|
|
Loading…
Reference in New Issue