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
@@ -119,8 +119,9 @@ It recognises the following entities:
119
119
The plugin accepts the following parameters:
120
120
121
121
-`coverageTypes`: An array of types of coverage that you wish to track. Supported values: `function`, `branch`, `line`. Defaults to all available types.
122
-
-`reports`: Array of information about files with code coverage results - paths to results, path to project root the results belong to. LCOV format is supported for now.
123
-
- If you have an Nx monorepo, you can adjust our helper function `getNxCoveragePaths` to get the path information automatically.
122
+
-`reports`: Array of information about files with code coverage results. LCOV format is supported for now.
123
+
- For a single project, providing paths to results as strings is enough.
124
+
- If you have an Nx monorepo, both path to results (`resultsPath`) and path from the root to project the results belong to (`pathToProject`) need to be provided for the LCOV format. You can adjust our helper function `getNxCoveragePaths` to get the path information automatically.
124
125
- (optional) `coverageToolCommand`: If you wish to run your coverage tool to generate the results first, you may define it here.
125
126
- (optional) `perfectScoreThreshold`: If your coverage goal is not 100%, you may define it here in range 0-1. Any score above the defined threshold will be given the perfect score. The value will stay unaffected.
0 commit comments