Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Commit

Permalink
Add tests for mnemonic words
Browse files Browse the repository at this point in the history
  • Loading branch information
willclarktech committed Aug 17, 2017
1 parent 566acb1 commit 93e5e64
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/utils/words.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import words from '../../src/utils/words';

describe('words module', () => {
it('should export a list of 2048 words', () => {
(words).should.have.length(2048);
});

it('should export a list of strings', () => {
words.forEach(word => (word).should.be.type('string'));
});
});

0 comments on commit 93e5e64

Please sign in to comment.