CEC-1167 implementing ths coverage thresold (#128)

This commit is contained in:
venkats09
2022-03-15 13:03:07 -07:00
committed by GitHub
parent 220716051b
commit 2e113830a5
2 changed files with 10 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
name: Node.js CI name: Node.js CI
on: push on: [pull_request]
# [pull_request]
jobs: jobs:
build: build:

View File

@@ -58,11 +58,17 @@
"collectCoverageFrom": [ "collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}" "src/**/*.{js,jsx,ts,tsx}"
], ],
"coverageThreshold": {
"global": {
"branches": 39,
"functions": 47,
"lines": 50,
"statements": 49
}
},
"coverageReporters": [ "coverageReporters": [
"html", "html",
"json", "lcov"
"lcov",
"cobertura"
] ]
} }
} }