mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2025-03-14 10:33:19 +00:00
add instanbul for coverage
This commit is contained in:
2
Server/.gitignore
vendored
2
Server/.gitignore
vendored
@ -2,3 +2,5 @@ node_modules
|
||||
.env
|
||||
*.log
|
||||
*.sh
|
||||
.nyc_output
|
||||
coverage
|
8
Server/.nycrc
Normal file
8
Server/.nycrc
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"all": true,
|
||||
"include": ["**/*.js"],
|
||||
"exclude": ["**/*.test.js"],
|
||||
"reporter": ["html", "text", "lcov"],
|
||||
"sourceMap": false,
|
||||
"instrument": true
|
||||
}
|
1545
Server/package-lock.json
generated
1545
Server/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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