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
I am updating the documentation for CoverageConfig, and I realized the "report" option (boolean) does not seem to do anything. Setting coverageConfig.report to false did not stop any reports from being written.
The only place I can find it in the source code is here, in getCodeCoverage.ts:
if (!watch && coverageConfig.report && coverageConfig.reporters?.includes('lcov')) {
entries.push(
`View full coverage report at ${underline(
path.join(coverageConfig.reportDir ?? '', 'lcov-report', 'index.html'),
)}`,
);
}
If someone has set "coverage" to true, then it would be very strange for them not to want any reports for that coverage. Would it make sense to remove the "report" option from CoverageConfig? Or should someone implement it, such that setting "report" to false would prevent reports from being generated?
The text was updated successfully, but these errors were encountered:
I am updating the documentation for CoverageConfig, and I realized the "report" option (boolean) does not seem to do anything. Setting coverageConfig.report to false did not stop any reports from being written.
The only place I can find it in the source code is here, in getCodeCoverage.ts:
If someone has set "coverage" to true, then it would be very strange for them not to want any reports for that coverage. Would it make sense to remove the "report" option from CoverageConfig? Or should someone implement it, such that setting "report" to false would prevent reports from being generated?
The text was updated successfully, but these errors were encountered: