mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix test
This commit is contained in:
parent
d017c28441
commit
bd660d9aeb
@ -15,7 +15,9 @@ describe('IdentityStore', function() {
|
|||||||
window.localStorage = {} // Hacking localStorage support into JSDom
|
window.localStorage = {} // Hacking localStorage support into JSDom
|
||||||
|
|
||||||
idStore = new IdentityStore({
|
idStore = new IdentityStore({
|
||||||
|
ethStore: {
|
||||||
addAccount(acct) { accounts.push(acct) },
|
addAccount(acct) { accounts.push(acct) },
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
idStore.createNewVault(password, entropy, (err, seeds) => {
|
idStore.createNewVault(password, entropy, (err, seeds) => {
|
||||||
@ -32,7 +34,9 @@ describe('IdentityStore', function() {
|
|||||||
window.localStorage = {} // Hacking localStorage support into JSDom
|
window.localStorage = {} // Hacking localStorage support into JSDom
|
||||||
|
|
||||||
idStore = new IdentityStore({
|
idStore = new IdentityStore({
|
||||||
|
ethStore: {
|
||||||
addAccount(acct) { newAccounts.push(acct) },
|
addAccount(acct) { newAccounts.push(acct) },
|
||||||
|
},
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -61,8 +65,8 @@ describe('IdentityStore', function() {
|
|||||||
window.localStorage = {} // Hacking localStorage support into JSDom
|
window.localStorage = {} // Hacking localStorage support into JSDom
|
||||||
|
|
||||||
idStore = new IdentityStore({
|
idStore = new IdentityStore({
|
||||||
addAccount(acct) {
|
ethStore: {
|
||||||
accounts.push(acct)
|
addAccount(acct) { accounts.push(acct) },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user