Browse Source

Test default seed phrase length is 12 words

pull/2/head
Luke Childs 6 years ago
parent
commit
4cac1c3379
  1. 6
      test/unit.js

6
test/unit.js

@ -15,3 +15,9 @@ test('Seed phrases contain the words "much", "such" and "very"', t => {
t.true(words.includes('such')); t.true(words.includes('such'));
t.true(words.includes('very')); t.true(words.includes('very'));
}); });
test('Default seed phrase length is 12 words', t => {
const seedPhrase = dogeSeed();
t.is(seedPhrase.split(' ').length, 12);
});

Loading…
Cancel
Save