add test for wordlists

This commit is contained in:
Daniel Cousens 2015-08-17 10:36:58 +10:00
parent da68d394f3
commit f263412660
1 changed files with 5 additions and 0 deletions

View File

@ -174,4 +174,9 @@ describe('BIP39', function() {
// false
assert.ok(! bool)
})
it('exposes standard wordlists', function () {
assert(BIP39.wordlists.EN)
assert.equal(BIP39.wordlists.EN.length, 2048)
})
})