From ae8d75fe6a5bfcc84d0dded6f8285084c7fad52d Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Mon, 23 Jul 2018 05:38:53 -0400 Subject: [PATCH] Use ethers.wordlists for testing instead of re-import. --- tests/test-hdnode.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/test-hdnode.js b/tests/test-hdnode.js index c12359b3a..08ca4fbad 100644 --- a/tests/test-hdnode.js +++ b/tests/test-hdnode.js @@ -63,8 +63,9 @@ function testEasySeed(lang, locale) { }); } -testEasySeed(require('../wordlists/lang-ja').langJa, 'ja'); -testEasySeed(require('../wordlists/lang-zh').langZhCn, 'zh_cn'); -testEasySeed(require('../wordlists/lang-zh').langZhTw, 'zh_tw'); -testEasySeed(require('../wordlists/lang-it').langIt, 'it'); -testEasySeed(require('../wordlists/lang-ko').langKo, 'ko'); +testEasySeed(ethers.wordlists.en, 'en'); +testEasySeed(ethers.wordlists.ja, 'ja'); +testEasySeed(ethers.wordlists.zh_cn, 'zh_cn'); +testEasySeed(ethers.wordlists.zh_tw, 'zh_tw'); +testEasySeed(ethers.wordlists.it, 'it'); +testEasySeed(ethers.wordlists.ko, 'ko');