Add nyc support

This commit is contained in:
Dolan
2018-10-26 20:11:40 +01:00
parent 83cab7563d
commit 9143c1c2c1
5 changed files with 46 additions and 8 deletions

26
.nycrc Normal file
View File

@ -0,0 +1,26 @@
{
"check-coverage": true,
"lines": 84.56,
"functions": 77.50,
"branches": 71.40,
"statements": 84.30,
"include": [
"src/**/*.ts"
],
"exclude": [
"build/",
"src/**/*.spec.ts"
],
"reporter": [
"lcov",
"text",
"json"
],
"extension": [
".ts"
],
"cache": true,
"all": true,
"instrument": false,
"sourceMap": true
}