Skip to content

Commit 7687570

Browse files
committed
start enforcing reasonable code coverage thresholds
1 parent 068ed16 commit 7687570

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

packages/b2c-cli/.c8rc.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,10 @@
66
"**/*.d.ts"
77
],
88
"reporter": ["text", "text-summary", "html", "lcov"],
9-
"report-dir": "coverage"
9+
"report-dir": "coverage",
10+
"check-coverage": true,
11+
"lines": 60,
12+
"functions": 70,
13+
"branches": 75,
14+
"statements": 60
1015
}

packages/b2c-tooling-sdk/.c8rc.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"reporter": ["text", "text-summary", "html", "lcov"],
66
"report-dir": "coverage",
77
"check-coverage": true,
8-
"lines": 5,
9-
"functions": 5,
10-
"branches": 5,
11-
"statements": 5
8+
"lines": 80,
9+
"functions": 80,
10+
"branches": 80,
11+
"statements": 80
1212
}

0 commit comments

Comments
 (0)