Skip to content
This repository was archived by the owner on Jul 9, 2021. It is now read-only.

Commit 8b51eb2

Browse files
committed
Add test coverage
1 parent c4dde5d commit 8b51eb2

File tree

3 files changed

+719
-40
lines changed

3 files changed

+719
-40
lines changed

.nycrc.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"include": [
3+
"src/**/*.ts"
4+
]
5+
}

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"scripts": {
1313
"build": "yarn rimraf dist && tsc && hardhat compile",
14-
"test": "hardhat deploy && hardhat test",
14+
"test": "hardhat deploy && nyc hardhat test",
1515
"format": "prettier --write \"{src,tests,hardhat}/**/*.ts\"",
1616
"lint": "tslint -p tsconfig.json"
1717
},
@@ -51,6 +51,7 @@
5151
"husky": "^5.0.9",
5252
"lint-staged": "^10.5.4",
5353
"mocha": "^8.3.0",
54+
"nyc": "^15.1.0",
5455
"prettier": "^2.2.1",
5556
"rimraf": "^3.0.2",
5657
"ts-generator": "^0.1.1",

0 commit comments

Comments
 (0)