Skip to content

Commit

Permalink
only run unit tests in coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Aodhgan committed Jul 2, 2021
1 parent d28c329 commit eecf6f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .solcover.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
skipFiles: ["test/RNGServiceMock.sol"],
skipFiles: ["test/"],
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"lint": "yarn solhint 'contracts/SushiYieldSource.sol' && yarn prettier -c './**/*.js'",
"format": "yarn prettier --write contracts/*.sol && yarn prettier --write test/*.js",
"hint": "solhint \"contracts/SushiYieldSource.sol\"",
"coverage": "FORK_MAINNET=true yarn hardhat coverage --testfiles \"test/*.js\"",
"coverage": "OPTIMIZER_DISABLED=true hardhat coverage --testfiles \"test/unit_test.js\"",
"coverage:file": "yarn hardhat coverage --testfiles",
"start-fork": "FORK_MAINNET=true hardhat node --no-reset",
"fork-run": "hardhat run --network localhost"
Expand Down

0 comments on commit eecf6f6

Please sign in to comment.