Merge pull request #525 from cosmos/stargate-auth-test

Enable/fix pending auth test in Stargate
This commit is contained in:
Will Clark
2020-11-11 16:15:28 +01:00
committed by GitHub
+3 -3
View File
@@ -98,12 +98,12 @@ describe("AuthExtension", () => {
});
it("returns null for non-existent address", async () => {
pending("This fails with Error: Query failed with (1): internal");
pendingWithoutSimapp();
const [client, tmClient] = await makeClientWithAuth(simapp.tendermintUrl);
const account = await client.auth.unverified.account(nonExistentAddress);
expect(account).toBeNull();
await expectAsync(client.auth.unverified.account(nonExistentAddress)).toBeRejectedWithError(
/account cosmos1p79apjaufyphcmsn4g07cynqf0wyjuezqu84hd not found/i,
);
tmClient.disconnect();
});