aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/idStore-test.js
diff options
context:
space:
mode:
authorDan Finlay <somniac@me.com>2016-04-28 09:46:12 +0800
committerDan Finlay <somniac@me.com>2016-04-28 09:46:12 +0800
commit9b524b4f28bebbdf8351763b61e897f33021e25b (patch)
treed5b0f23ec9803f6956f42f9bbfbbd993608e1285 /test/unit/idStore-test.js
parentc66ac13cc93948945912690dffc4940f33fa1dfa (diff)
parentbd660d9aeb5638372605377fb92ce1362c3d8230 (diff)
downloadtangerine-wallet-browser-9b524b4f28bebbdf8351763b61e897f33021e25b.tar
tangerine-wallet-browser-9b524b4f28bebbdf8351763b61e897f33021e25b.tar.gz
tangerine-wallet-browser-9b524b4f28bebbdf8351763b61e897f33021e25b.tar.bz2
tangerine-wallet-browser-9b524b4f28bebbdf8351763b61e897f33021e25b.tar.lz
tangerine-wallet-browser-9b524b4f28bebbdf8351763b61e897f33021e25b.tar.xz
tangerine-wallet-browser-9b524b4f28bebbdf8351763b61e897f33021e25b.tar.zst
tangerine-wallet-browser-9b524b4f28bebbdf8351763b61e897f33021e25b.zip
Merge pull request #152 from MetaMask/FilterTransactionList
Filter transaction list for current network
Diffstat (limited to 'test/unit/idStore-test.js')
-rw-r--r--test/unit/idStore-test.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/unit/idStore-test.js b/test/unit/idStore-test.js
index d3fabfe9d..e9611d7e8 100644
--- a/test/unit/idStore-test.js
+++ b/test/unit/idStore-test.js
@@ -15,7 +15,9 @@ describe('IdentityStore', function() {
window.localStorage = {} // Hacking localStorage support into JSDom
idStore = new IdentityStore({
- addAccount(acct) { accounts.push(acct) },
+ ethStore: {
+ addAccount(acct) { accounts.push(acct) },
+ },
})
idStore.createNewVault(password, entropy, (err, seeds) => {
@@ -32,7 +34,9 @@ describe('IdentityStore', function() {
window.localStorage = {} // Hacking localStorage support into JSDom
idStore = new IdentityStore({
- addAccount(acct) { newAccounts.push(acct) },
+ ethStore: {
+ addAccount(acct) { newAccounts.push(acct) },
+ },
})
})
@@ -61,8 +65,8 @@ describe('IdentityStore', function() {
window.localStorage = {} // Hacking localStorage support into JSDom
idStore = new IdentityStore({
- addAccount(acct) {
- accounts.push(acct)
+ ethStore: {
+ addAccount(acct) { accounts.push(acct) },
},
})
})