Skip to content

Commit

Permalink
fix-issue-364: fix turbo run test faled somtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
fospring committed Sep 4, 2023
1 parent 00674ee commit f307517
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test("migration works", async (t) => {
"hello"
);

contract.deploy("./build/status-message-migrate-add-field.wasm");
await contract.deploy("./build/status-message-migrate-add-field.wasm");
await ali.call(contract, "migrateState", {});

t.is(
Expand Down
2 changes: 1 addition & 1 deletion examples/__tests__/test-state-migration.ava.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ test("migration works", async (t) => {
const res1 = await contract.view("countMessages", {});
t.is(res1, 4);

contract.deploy("./build/state-migration-new.wasm");
await contract.deploy("./build/state-migration-new.wasm");

await ali.call(contract, "migrateState", {});

Expand Down

0 comments on commit f307517

Please sign in to comment.