diff --git a/.mocharc.json b/.mocharc.json new file mode 100644 index 0000000..c2acc63 --- /dev/null +++ b/.mocharc.json @@ -0,0 +1,5 @@ +{ + "require": "hardhat/register", + "timeout": 40000, + "_": ["test/**/*.ts"] +} diff --git a/package-lock.json b/package-lock.json index 3bdb4c8..8d01938 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,8 @@ "@nomicfoundation/hardhat-toolbox": "^2.0.1", "@nomiclabs/hardhat-solhint": "^3.0.0", "dotenv": "^16.0.3", - "hardhat": "^2.12.6" + "hardhat": "^2.12.6", + "mocha": "^10.2.0" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index 9a583be..49e7618 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "@nomicfoundation/hardhat-toolbox": "^2.0.1", "@nomiclabs/hardhat-solhint": "^3.0.0", "dotenv": "^16.0.3", - "hardhat": "^2.12.6" + "hardhat": "^2.12.6", + "mocha": "^10.2.0" } }