From 5aba096bd1afe23cf3df491ef67e24858e6efc01 Mon Sep 17 00:00:00 2001 From: Frances Pangilinan Date: Wed, 14 Dec 2016 12:56:53 -0800 Subject: add Test for txManager. As well as fix tests to account for txManager. --- test/unit/idStore-migration-test.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/unit/idStore-migration-test.js') diff --git a/test/unit/idStore-migration-test.js b/test/unit/idStore-migration-test.js index ac8e23d22..639eb0d72 100644 --- a/test/unit/idStore-migration-test.js +++ b/test/unit/idStore-migration-test.js @@ -64,6 +64,10 @@ describe('IdentityStore to KeyringController migration', function() { addAccount(acct) { newAccounts.push(ethUtil.addHexPrefix(acct)) }, del(acct) { delete newAccounts[acct] }, }, + txManager: { + getTxList: () => [], + getUnapprovedTxList: () => [] + }, }) // Stub out the browser crypto for a mock encryptor. -- cgit v1.2.3