From 8ba2844da56e3220fcad6f9648afa3aca3335524 Mon Sep 17 00:00:00 2001 From: wokis Date: Thu, 5 Mar 2026 12:28:10 +0100 Subject: [PATCH] docs: document coverageExclude option for excluding files from coverage (cherry picked from commit 3d25953e69d96ce2d9472f52de63e4af89397ae4) --- adev/src/content/guide/testing/code-coverage.md | 1 + 1 file changed, 1 insertion(+) diff --git a/adev/src/content/guide/testing/code-coverage.md b/adev/src/content/guide/testing/code-coverage.md index b9b57d2d9cc..d50ed8ebb7d 100644 --- a/adev/src/content/guide/testing/code-coverage.md +++ b/adev/src/content/guide/testing/code-coverage.md @@ -86,6 +86,7 @@ Now, if your coverage drops below 80% when you run your tests, the command will You can configure several other coverage options in your `angular.json` file: - `coverageInclude`: Glob patterns of files to include in the coverage report. +- `coverageExclude`: Glob patterns of files to exclude in the coverage report. - `coverageReporters`: An array of reporters to use (e.g., `html`, `lcov`, `json`). - `coverageWatermarks`: An object specifying `[low, high]` watermarks for the HTML reporter, which can affect the color-coding of the report.