1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00
This commit is contained in:
Dan Finlay 2016-04-27 18:14:59 -07:00
parent d017c28441
commit bd660d9aeb

View File

@ -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) },
},
})
})