From c57d2ba07bb7f19b853338c4039d2939abe7cd5c Mon Sep 17 00:00:00 2001 From: Rick Staa Date: Fri, 12 Apr 2024 16:34:54 +0200 Subject: [PATCH] chore: add .mocharc.json This commit adds a `.mocharc.json` configuration file so that mocha hardhat tests can be directly debugged in [VScode](https://hardhat.org/hardhat-runner/docs/advanced/vscode-tests). --- .mocharc.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .mocharc.json diff --git a/.mocharc.json b/.mocharc.json new file mode 100644 index 00000000..96fea0a3 --- /dev/null +++ b/.mocharc.json @@ -0,0 +1,8 @@ +{ + "require": "hardhat/register", + "timeout": 40000, + "_": [ + "test/**/*.ts", + "test/**/*.js" + ] +}