Skip to content

Commit 46d4821

Browse files
committed
fix(integrations): await the deploy inside the await-using scope
Returning the bare promise let Deployer's asyncDispose run before the deploy settled, tearing down the wallet and any auto proof-server container while proving was still in flight.
1 parent f688392 commit 46d4821

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integrations/_harness/deployer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@ export async function deployFixture(
7272
privateStateProvider:
7373
overrides.privateStateProvider ?? harnessPrivateStateProvider(),
7474
});
75-
return overrides.dryRun ? deployer.dryRun() : deployer.deploy();
75+
return overrides.dryRun ? await deployer.dryRun() : await deployer.deploy();
7676
}

0 commit comments

Comments
 (0)