You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 04f8185
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/config/coverage.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -250,7 +250,7 @@ Check thresholds per file.
250
250
Update all threshold values `lines`, `functions`, `branches` and `statements` to configuration file when current coverage is better than the configured thresholds.
251
251
This option helps to maintain thresholds when coverage is improved.
252
252
253
-
You can also pass a function for formatting the updated threshold values:
253
+
You can also pass a function for formatting the updated threshold values. The function receives the new threshold as the first argument and the previous threshold as the second:
254
254
255
255
<!-- eslint-skip -->
256
256
```ts
@@ -260,6 +260,12 @@ You can also pass a function for formatting the updated threshold values:
0 commit comments