From 37be34ebc396a74d7a4180bf2f515b5d97318f89 Mon Sep 17 00:00:00 2001 From: livingrockrises <90545960+livingrockrises@users.noreply.github.com> Date: Thu, 21 Sep 2023 02:43:47 -0400 Subject: [PATCH] add delay in/after beforeAll --- packages/account/tests/SmartAccountV2.local.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/account/tests/SmartAccountV2.local.spec.ts b/packages/account/tests/SmartAccountV2.local.spec.ts index 303dcbb3f..0ebc9da2a 100644 --- a/packages/account/tests/SmartAccountV2.local.spec.ts +++ b/packages/account/tests/SmartAccountV2.local.spec.ts @@ -87,7 +87,9 @@ describe("BiconomySmartAccountV2 API Specs", () => { const counterFactualAddress = await accountAPI.getAccountAddress(); console.log("Counterfactual address ", counterFactualAddress); - }); + + await new Promise((resolve) => setTimeout(resolve, 10000)); + }, 30000); it("Nonce should be zero", async () => { const builtUserOp = await accountAPI.buildUserOp([{ to: recipient.address, value: ethers.utils.parseEther("1".toString()), data: "0x" }]);