Use ethers.wordlists for testing instead of re-import.

This commit is contained in:
Richard Moore 2018-07-23 05:38:53 -04:00
parent 4db19a1799
commit ae8d75fe6a
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295

@ -63,8 +63,9 @@ function testEasySeed(lang, locale) {
}); });
} }
testEasySeed(require('../wordlists/lang-ja').langJa, 'ja'); testEasySeed(ethers.wordlists.en, 'en');
testEasySeed(require('../wordlists/lang-zh').langZhCn, 'zh_cn'); testEasySeed(ethers.wordlists.ja, 'ja');
testEasySeed(require('../wordlists/lang-zh').langZhTw, 'zh_tw'); testEasySeed(ethers.wordlists.zh_cn, 'zh_cn');
testEasySeed(require('../wordlists/lang-it').langIt, 'it'); testEasySeed(ethers.wordlists.zh_tw, 'zh_tw');
testEasySeed(require('../wordlists/lang-ko').langKo, 'ko'); testEasySeed(ethers.wordlists.it, 'it');
testEasySeed(ethers.wordlists.ko, 'ko');