From 7d4c27ec269315e6855a640e9975c51fcb7e519d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jovan=20Kruni=C4=87?= Date: Fri, 23 Oct 2020 09:23:23 +0200 Subject: [PATCH] test: set total coverage requirements to 85% --- .gitlab-ci.yml | 2 +- package.json | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 26d0c1e9..71b77554 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 tags: - docker - + audit: stage: audit dependencies: diff --git a/package.json b/package.json index f3687b6a..85cd2fef 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ }, "nyc": { "all": true, - "branches": 95, + "branches": 85, "check-coverage": true, "exclude": [ "src/cli.ts" @@ -101,12 +101,11 @@ "extension": [ ".ts" ], - "functions": 95, + "functions": 85, "include": [ "src" ], - "lines": 95, - "per-file": true, + "lines": 85, "reporter": [ "html", "text-summary" @@ -114,6 +113,6 @@ "require": [ "ts-node/register" ], - "statements": 95 + "statements": 85 } }