tests: show mnemonic in test desc.

This commit is contained in:
Daniel Cousens 2017-05-12 12:31:52 +10:00
parent ed79ca8c29
commit 6a8d7c95dc
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ function testVector (description, wordlist, password, v, i) {
var vmnemonic = v[1]
var vseedHex = v[2]
test('for ' + description + ' test vector ' + i, function (t) {
test('for ' + description + '(' + i + '), ' + ventropy, function (t) {
t.plan(5)
t.equal(bip39.mnemonicToEntropy(vmnemonic, wordlist), ventropy, 'mnemonicToEntropy returns ' + ventropy.slice(0, 40) + '...')