From ac281b0ee710e851f60ac335f770b7fdc67ab491 Mon Sep 17 00:00:00 2001 From: lbeder Date: Sat, 17 Dec 2022 19:26:22 +0000 Subject: [PATCH] Correct profiling grep --- hardhat.config.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/hardhat.config.ts b/hardhat.config.ts index 222bd93..f4d4d4c 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -42,18 +42,10 @@ const mochaOptions = (): MochaOptions => { let timeout = 600000; let grep; let reporter; - let invert = false; if (isProfiling) { - // if we're profiling, make sure to only run @profile tests without any timeout restriction, and silence most - // of test output timeout = 0; - grep = '@profile'; reporter = 'mocha-silent-reporter'; - } else { - // if we're running in dev, filter out profile tests - grep = '@profile'; - invert = true; } return { @@ -61,7 +53,6 @@ const mochaOptions = (): MochaOptions => { color: true, bail: true, grep, - invert, reporter }; };