Skip to content
This repository was archived by the owner on Jun 29, 2023. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ types/
cache/
artifacts/
build/

# Test coverage
coverage
coverage.json
10 changes: 10 additions & 0 deletions .solcover.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const shell = require("shelljs"); // From solidity-coverage

module.exports = {
skipFiles: ["./test", "./deployment"],
onCompileComplete: async _config => {
shell.exec(
"typechain --target ethers-v5 './artifacts/contracts/**/!(*.dbg).json'"
);
}
};
1 change: 1 addition & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import "@nomiclabs/hardhat-ethers";
import "solidity-coverage";

module.exports = {
defaultNetwork: "hardhat",
Expand Down
Loading