Fix test timeout (#41)

This commit is contained in:
Szymon Szlachtowicz 2021-09-02 12:12:27 +02:00 committed by GitHub
parent 6cccd1ecdf
commit 763b704620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -94,7 +94,9 @@ async function fixture([alice, firstAddress, secondAddress]: any[], provider: an
await provider.send('evm_mine', [Math.floor(Date.now() / 1000)]) await provider.send('evm_mine', [Math.floor(Date.now() / 1000)])
return { contract, alice, firstAddress, secondAddress, provider } return { contract, alice, firstAddress, secondAddress, provider }
} }
before(async () => {
before(async function () {
this.timeout(10000)
const { contract } = await loadFixture(fixture) const { contract } = await loadFixture(fixture)
typedData.domain.chainId = 1 typedData.domain.chainId = 1
typedData.domain.verifyingContract = contract.address typedData.domain.verifyingContract = contract.address