From 7c9ebb3c31cdfa826a948ee22dd265b21a9d0d2a Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Wed, 25 Jan 2023 13:59:55 +0100 Subject: [PATCH] [test] tweak test settings - stop on first failure (quick feedback) - do not warn about slow test before 100 ms (solidity tests are inherently slow) - set test timeout to 30 seconds --- hardhat.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hardhat.config.js b/hardhat.config.js index 6ee3ede..86540f6 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -12,6 +12,11 @@ module.exports = { }, }, }, + mocha: { + bail: true, + slow: 200, + timeout: 30 * 1000, + }, namedAccounts: { deployer: { default: 0 }, },