From 4504c50e816a93fc0bda7eadcc52a8158686b29e Mon Sep 17 00:00:00 2001 From: Eric Lau Date: Fri, 20 Oct 2023 11:31:07 -0400 Subject: [PATCH] Fix tests when running coverage (#903) --- packages/core/ava.config.js | 1 + packages/plugin-hardhat/ava.config.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/packages/core/ava.config.js b/packages/core/ava.config.js index f313d703b..80d7f5dab 100644 --- a/packages/core/ava.config.js +++ b/packages/core/ava.config.js @@ -8,4 +8,5 @@ module.exports = { environmentVariables: { FORCE_COLOR: '0', }, + timeout: '30s', }; diff --git a/packages/plugin-hardhat/ava.config.js b/packages/plugin-hardhat/ava.config.js index 92db61f76..9529b4991 100644 --- a/packages/plugin-hardhat/ava.config.js +++ b/packages/plugin-hardhat/ava.config.js @@ -5,4 +5,7 @@ module.exports = { serial: true, failWithoutAssertions: false, snapshotDir: '.', + environmentVariables: { + FORCE_COLOR: '0', + }, };