mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-25 22:46:20 +08:00
Make test coverage to be optional.
This commit is contained in:
parent
97e6120b3f
commit
7f64f55397
@ -1,5 +1,5 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
verbose: false,
|
verbose: false,
|
||||||
collectCoverage: true,
|
collectCoverage: false,
|
||||||
coverageDirectory: './coverage/',
|
coverageDirectory: './coverage/',
|
||||||
};
|
};
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint ./src/*",
|
"lint": "eslint ./src/*",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"ci": "npm run lint && npm run test",
|
"ci": "npm run lint && npm run test -- --coverage",
|
||||||
"codecov": "codecov"
|
"codecov": "codecov"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
Loading…
Reference in New Issue
Block a user