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
on: push
# [pull_request]
on: [pull_request]
jobs:
build:

View File

@@ -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"
]
}
}