Skip to content

Commit e462cdd

Browse files
committed
Update c8 configuration
Ignore coverage of CJS distribution. It would require its own copy of the unit tests. Since TypeScript injects ES compatibility workarounds, it adds additional unnecessary uncovered logic.
1 parent 6e0bf93 commit e462cdd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.c8rc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
{
2+
"exclude": [
3+
"**/*.d.ts",
4+
"coverage/**",
5+
"dist/cjs/**",
6+
"test{,s}/**"
7+
],
28
"per-file": true,
39
"branches": 80,
410
"functions": 80,

0 commit comments

Comments
 (0)