aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/keyring-controller-test.js
diff options
context:
space:
mode:
authorFrances Pangilinan <frankie.diamond@gmail.com>2016-12-15 04:56:53 +0800
committerFrances Pangilinan <frankie.diamond@gmail.com>2016-12-15 04:56:53 +0800
commit5aba096bd1afe23cf3df491ef67e24858e6efc01 (patch)
tree553e31da9ea77c0f3811079e3631fb5ecb1c248b /test/unit/keyring-controller-test.js
parent090935f90aa3c2589fee7bc038c8f4fcf77da03c (diff)
downloadtangerine-wallet-browser-5aba096bd1afe23cf3df491ef67e24858e6efc01.tar.gz
tangerine-wallet-browser-5aba096bd1afe23cf3df491ef67e24858e6efc01.tar.zst
tangerine-wallet-browser-5aba096bd1afe23cf3df491ef67e24858e6efc01.zip
add Test for txManager. As well as fix tests to account for txManager.
Diffstat (limited to 'test/unit/keyring-controller-test.js')
-rw-r--r--test/unit/keyring-controller-test.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/keyring-controller-test.js b/test/unit/keyring-controller-test.js
index 69a57ef52..a2b65a6b5 100644
--- a/test/unit/keyring-controller-test.js
+++ b/test/unit/keyring-controller-test.js
@@ -23,6 +23,10 @@ describe('KeyringController', function() {
keyringController = new KeyringController({
configManager: configManagerGen(),
+ txManager: {
+ getTxList: () => [],
+ getUnapprovedTxList: () => []
+ },
ethStore: {
addAccount(acct) { accounts.push(ethUtil.addHexPrefix(acct)) },
},