test: set total coverage requirements to 85%

This commit is contained in:
Jovan Krunić
2020-10-23 09:23:23 +02:00
committed by Rainer Killinger
parent 3a7cc8d7c1
commit 7d4c27ec26
2 changed files with 5 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ integration:
- docker-compose -f integration-test.yml pull && docker-compose -f integration-test.yml up --abort-on-container-exit --exit-code-from apicli - docker-compose -f integration-test.yml pull && docker-compose -f integration-test.yml up --abort-on-container-exit --exit-code-from apicli
tags: tags:
- docker - docker
audit: audit:
stage: audit stage: audit
dependencies: dependencies:

View File

@@ -93,7 +93,7 @@
}, },
"nyc": { "nyc": {
"all": true, "all": true,
"branches": 95, "branches": 85,
"check-coverage": true, "check-coverage": true,
"exclude": [ "exclude": [
"src/cli.ts" "src/cli.ts"
@@ -101,12 +101,11 @@
"extension": [ "extension": [
".ts" ".ts"
], ],
"functions": 95, "functions": 85,
"include": [ "include": [
"src" "src"
], ],
"lines": 95, "lines": 85,
"per-file": true,
"reporter": [ "reporter": [
"html", "html",
"text-summary" "text-summary"
@@ -114,6 +113,6 @@
"require": [ "require": [
"ts-node/register" "ts-node/register"
], ],
"statements": 95 "statements": 85
} }
} }