| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b3708e7 commit 482302b
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -431,7 +431,8 @@ command-line flag, code coverage is collected and statistics are reported once | |||
| 431 | 431 | all tests have completed. If the [`NODE_V8_COVERAGE`][] environment variable is | |
| 432 | 432 | used to specify a code coverage directory, the generated V8 coverage files are | |
| 433 | 433 | written to that directory. Node.js core modules and files within | |
| 434 | - `node_modules/` directories are not included in the coverage report. If | ||
| 434 | + `node_modules/` directories are, by default, not included in the coverage report. | ||
| 435 | + However, they can be explicity included via the [`--test-coverage-include`][] flag. If | ||
| 435 | 436 | coverage is enabled, the coverage report is sent to any [test reporters][] via | |
| 436 | 437 | the `'test:coverage'` event. | |
| 437 | 438 | ||
@@ -3268,6 +3269,7 @@ Can be used to abort test subtasks when the test has been aborted. | |||
| 3268 | 3269 | [`--experimental-test-coverage`]: cli.md#--experimental-test-coverage | |
| 3269 | 3270 | [`--import`]: cli.md#--importmodule | |
| 3270 | 3271 | [`--test-concurrency`]: cli.md#--test-concurrency | |
| 3272 | + [`--test-coverage-include`]: cli.md#--test-coverage-include | ||
| 3271 | 3273 | [`--test-name-pattern`]: cli.md#--test-name-pattern | |
| 3272 | 3274 | [`--test-only`]: cli.md#--test-only | |
| 3273 | 3275 | [`--test-reporter-destination`]: cli.md#--test-reporter-destination | |
| Back | FazBrowse Home | New Git URL |
0 commit comments