From c8562151b26a7f1c8c77a97c411aff547c95d84d Mon Sep 17 00:00:00 2001 From: Zoey Date: Wed, 14 Aug 2024 03:23:12 -0400 Subject: [PATCH] Rename variable copied from run task Co-authored-by: Piotr Galar --- v-next/hardhat-node-test-runner/src/task-action.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v-next/hardhat-node-test-runner/src/task-action.ts b/v-next/hardhat-node-test-runner/src/task-action.ts index a414549134..581f9b38c7 100644 --- a/v-next/hardhat-node-test-runner/src/task-action.ts +++ b/v-next/hardhat-node-test-runner/src/task-action.ts @@ -45,7 +45,7 @@ async function hasTypescriptConfig(): Promise { return hhConfig !== undefined; } -const runScriptWithHardhat: NewTaskActionFunction = async ( +const testWithHardhat: NewTaskActionFunction = async ( { testFiles, only }, hre, ) => { @@ -74,4 +74,4 @@ const runScriptWithHardhat: NewTaskActionFunction = async ( run({ files, only }).compose(hardhatTestReporter).pipe(process.stdout); }; -export default runScriptWithHardhat; +export default testWithHardhat;