Browse Source

tests: show mnemonic in test desc.

300
Daniel Cousens 8 years ago
parent
commit
6a8d7c95dc
  1. 2
      test/index.js

2
test/index.js

@ -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) + '...')

Loading…
Cancel
Save