added cli-covarage tool and fixed more tests
This commit is contained in:
parent
b63e58784c
commit
b845a8eade
57 changed files with 11917 additions and 295 deletions
26
.coveragerc.json
Normal file
26
.coveragerc.json
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"exclude": [
|
||||
"**/node_modules/**",
|
||||
"**/dist/**",
|
||||
"**/build/**",
|
||||
"**/coverage/**",
|
||||
"**/*.test.ts",
|
||||
"**/*.test.js",
|
||||
"**/*.spec.ts",
|
||||
"**/*.spec.js",
|
||||
"**/test/**",
|
||||
"**/tests/**",
|
||||
"**/__tests__/**",
|
||||
"**/__mocks__/**",
|
||||
"**/setup.ts",
|
||||
"**/setup.js"
|
||||
],
|
||||
"reporters": ["terminal", "html"],
|
||||
"thresholds": {
|
||||
"lines": 80,
|
||||
"functions": 80,
|
||||
"branches": 80,
|
||||
"statements": 80
|
||||
},
|
||||
"outputDir": "coverage"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue