Skip to content

Commit

Permalink
Enable testing from VSCode (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
venables authored Sep 16, 2022
1 parent d011008 commit ef43190
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": "hardhat/register",
"timeout": 40000,
"_": ["test/**/*.ts"]
}
5 changes: 4 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"recommendations": ["NomicFoundation.hardhat-solidity"]
"recommendations": [
"NomicFoundation.hardhat-solidity",
"hbenl.vscode-mocha-test-adapter"
]
}
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"hardhat": "^2.11.1",
"mocha": "^10.0.0",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0-beta.24",
"typescript": "^4.8.2"
Expand Down

0 comments on commit ef43190

Please sign in to comment.