diff --git a/apps/extension/src/provider/Anoma.test.ts b/apps/extension/src/provider/Anoma.test.ts index 9ab593fc77..dc30ea72ba 100644 --- a/apps/extension/src/provider/Anoma.test.ts +++ b/apps/extension/src/provider/Anoma.test.ts @@ -70,16 +70,16 @@ describe("Anoma", () => { expect(storedChains).toEqual([...Object.values(defaultChains), chain]); }); - // it("should return all accounts", async () => { - // iDBStore.set(KEYSTORE_KEY, keyStore); - // utilityStore.set(PARENT_ACCOUNT_ID_KEY, ACTIVE_ACCOUNT); - // const storedKeyStore = keyStore.map( - // ({ crypto: _crypto, owner: _owner, ...account }) => account - // ); - // const storedAccounts = await anoma.accounts(chain.chainId); - // - // expect(storedAccounts).toEqual(storedKeyStore); - // }); + it("should return all accounts", async () => { + iDBStore.set(KEYSTORE_KEY, keyStore); + utilityStore.set(PARENT_ACCOUNT_ID_KEY, ACTIVE_ACCOUNT); + const storedKeyStore = keyStore.map( + ({ crypto: _crypto, owner: _owner, ...account }) => account + ); + const storedAccounts = await anoma.accounts(chain.chainId); + + expect(storedAccounts).toEqual(storedKeyStore); + }); it("should add a chain configuration", async () => { await anoma.suggestChain(chain);