diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-04-28 09:14:59 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-04-28 09:14:59 +0800 |
commit | bd660d9aeb5638372605377fb92ce1362c3d8230 (patch) | |
tree | fe30b0f515b8e49c8c24c42fe67887e67fe49a20 | |
parent | d017c2844165939f41613e1ae6141c8531422c44 (diff) | |
download | tangerine-wallet-browser-bd660d9aeb5638372605377fb92ce1362c3d8230.tar tangerine-wallet-browser-bd660d9aeb5638372605377fb92ce1362c3d8230.tar.gz tangerine-wallet-browser-bd660d9aeb5638372605377fb92ce1362c3d8230.tar.bz2 tangerine-wallet-browser-bd660d9aeb5638372605377fb92ce1362c3d8230.tar.lz tangerine-wallet-browser-bd660d9aeb5638372605377fb92ce1362c3d8230.tar.xz tangerine-wallet-browser-bd660d9aeb5638372605377fb92ce1362c3d8230.tar.zst tangerine-wallet-browser-bd660d9aeb5638372605377fb92ce1362c3d8230.zip |
Fix test
-rw-r--r-- | test/unit/idStore-test.js | 12 |
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) }, }, }) }) |