Skip to content

Commit 563ed02

Browse files
authored
Merge pull request #51 from PositiveSecurity/revert-50-mjb881-codex/обновить-пороги-покрытия-кода-для-nyc
Revert "Add coverage thresholds"
2 parents c8d99ca + 8a8a427 commit 563ed02

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ jobs:
1414
node-version: '20'
1515
- run: npm install
1616
- run: npm run test -- --coverage --reporter=json-summary
17-
- name: Check coverage thresholds
18-
run: npx c8 check-coverage --lines 85 --branches 80 --functions 85
1917
- uses: actions/upload-artifact@v3
2018
with:
2119
name: coverage-baseline

package.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,5 @@
144144
"pic/**/*",
145145
"README.md",
146146
"LICENSE"
147-
],
148-
"nyc": {
149-
"check-coverage": true,
150-
"lines": 85,
151-
"branches": 80,
152-
"functions": 85
153-
}
147+
]
154148
}

0 commit comments

Comments
 (0)