add instanbul for coverage
This commit is contained in:
1 parent
d757aabd57
commit
221a34906b
4 files changed
+1525
-33
No files matched your search
@@ -2,3 +2,5 @@ node_modules
|
||||
.env
|
||||
*.log
|
||||
*.sh
|
||||
.nyc_output
|
||||
coverage
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"all": true,
|
||||
"include": ["**/*.js"],
|
||||
"exclude": ["**/*.test.js"],
|
||||
"reporter": ["html", "text", "lcov"],
|
||||
"sourceMap": false,
|
||||
"instrument": true
|
||||
}
|
||||
Generated
+1513
-32
File diff suppressed because it is too large.
Load diff
+2
-1
@@ -4,7 +4,7 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "mocha",
|
||||
"test": "nyc mocha",
|
||||
"dev": "nodemon index.js"
|
||||
},
|
||||
"keywords": [],
|
||||
@@ -37,6 +37,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "3.1.0",
|
||||
"nyc": "17.1.0",
|
||||
"sinon": "19.0.2"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user