From bd660d9aeb5638372605377fb92ce1362c3d8230 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Wed, 27 Apr 2016 18:14:59 -0700 Subject: Fix test --- test/unit/idStore-test.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'test/unit') 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) }, }, }) }) -- cgit