Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
liorbond committed Sep 11, 2022
1 parent 67f8130 commit 26c1a07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions integration-tests/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ describe("Env", () => {
});

describe("Init", () => {
test.only("v1", async () => {
test("v1", async () => {
const tx = await accounts[0].secretjs.tx.compute.instantiateContract(
{
sender: accounts[0].address,
Expand All @@ -477,8 +477,8 @@ describe("Init", () => {
const logAddr = tx.arrayLog.find((x) => x.key === "contract_address").value;

const resp = MsgInstantiateContractResponse.decode(tx.data[0]);
console.log(JSON.stringify(resp));
expect(logAddr).toBe(resp.address);
expect(resp.address).toBe(logAddr);
expect(resp.data[0]).toBe(137);
});

test("v0.10", async () => {});
Expand All @@ -497,7 +497,7 @@ describe("Execute", () => {
);

const resp = MsgExecuteContractResponse.decode(tx.data[0]);
console.log(JSON.stringify(resp));
expect(resp.data[0]).toBe(137);
});

test("v0.10", async () => {});
Expand Down

0 comments on commit 26c1a07

Please sign in to comment.