From e4ea6db7b9ad1d44e2ec5954b5dd04f65a0b057a Mon Sep 17 00:00:00 2001 From: Alin Mihai Barbatei Date: Fri, 6 Oct 2023 18:00:26 +0300 Subject: [PATCH] timeout increase and possible workaround for linting --- packages/avatar/hardhat.config.ts | 6 ++++-- .../avatar/AvatarCollection/AvatarCollection.fixtures.ts | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/avatar/hardhat.config.ts b/packages/avatar/hardhat.config.ts index dc739ee28e..050dd4a2f1 100644 --- a/packages/avatar/hardhat.config.ts +++ b/packages/avatar/hardhat.config.ts @@ -3,8 +3,10 @@ import {HardhatUserConfig} from 'hardhat/config'; import '@openzeppelin/hardhat-upgrades'; const config: HardhatUserConfig = { - // solidity compiler version may be updated for new packages as required - // to ensure packages use up-to-date dependencies + mocha: { + timeout: 0, + ...(!process.env.CI ? {} : {invert: true, grep: '@skip-on-ci'}), + }, solidity: { compilers: [ { diff --git a/packages/avatar/test/avatar/AvatarCollection/AvatarCollection.fixtures.ts b/packages/avatar/test/avatar/AvatarCollection/AvatarCollection.fixtures.ts index c8fccb1150..4028a975e0 100644 --- a/packages/avatar/test/avatar/AvatarCollection/AvatarCollection.fixtures.ts +++ b/packages/avatar/test/avatar/AvatarCollection/AvatarCollection.fixtures.ts @@ -60,7 +60,7 @@ async function createSetupWave(contract: AvatarCollection) { waveMaxTokensToBuy: number, waveSingleTokenPrice: string ) => { - const {raffleSignWallet} = await getTestingAccounts(); + const {raffleSignWallet, deployer} = await getTestingAccounts(); await contract.setSignAddress(raffleSignWallet);