CEC-1167 implementing ths coverage thresold (#128)
This commit is contained in:
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@@ -1,7 +1,6 @@
|
||||
name: Node.js CI
|
||||
|
||||
on: push
|
||||
# [pull_request]
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
12
package.json
12
package.json
@@ -58,11 +58,17 @@
|
||||
"collectCoverageFrom": [
|
||||
"src/**/*.{js,jsx,ts,tsx}"
|
||||
],
|
||||
"coverageThreshold": {
|
||||
"global": {
|
||||
"branches": 39,
|
||||
"functions": 47,
|
||||
"lines": 50,
|
||||
"statements": 49
|
||||
}
|
||||
},
|
||||
"coverageReporters": [
|
||||
"html",
|
||||
"json",
|
||||
"lcov",
|
||||
"cobertura"
|
||||
"lcov"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user