From 763b70462009631aa2acd5e393b553a43a5a144d Mon Sep 17 00:00:00 2001 From: Szymon Szlachtowicz <38212223+Szymx95@users.noreply.github.com> Date: Thu, 2 Sep 2021 12:12:27 +0200 Subject: [PATCH] Fix test timeout (#41) --- packages/contracts/test/1.votingContract.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/contracts/test/1.votingContract.test.ts b/packages/contracts/test/1.votingContract.test.ts index 452306b..91f2667 100644 --- a/packages/contracts/test/1.votingContract.test.ts +++ b/packages/contracts/test/1.votingContract.test.ts @@ -94,7 +94,9 @@ async function fixture([alice, firstAddress, secondAddress]: any[], provider: an await provider.send('evm_mine', [Math.floor(Date.now() / 1000)]) return { contract, alice, firstAddress, secondAddress, provider } } -before(async () => { + +before(async function () { + this.timeout(10000) const { contract } = await loadFixture(fixture) typedData.domain.chainId = 1 typedData.domain.verifyingContract = contract.address