Skip to content

Commit ed5cb9b

Browse files
committed
docs(plugin-coverage): include empty-report omission in README
1 parent 969808a commit ed5cb9b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/plugin-coverage/README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,11 @@ For instance, the following can be an audit output for line coverage.
214214
}
215215
```
216216

217-
### Providing coverage results in Nx monorepo
217+
### Coverage results alteration
218+
219+
At the moment, the LCOV results include `(empty-report)` functions with missing coverage. These point to various imports or exports, not actual functions. For that reason, they are omitted from the results.
220+
221+
## Providing coverage results in Nx monorepo
218222

219223
As a part of the plugin, there is a `getNxCoveragePaths` helper for setting up paths to coverage results if you are using Nx. The helper accepts all relevant targets (e.g. `test` or `unit-test`) and searches for a coverage path option.
220224
Jest and Vitest configuration options are currently supported:

0 commit comments

Comments
 (0)