We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2248ba commit 054a3b2Copy full SHA for 054a3b2
packages/angular/build/src/builders/unit-test/runners/vitest/executor.ts
@@ -239,7 +239,8 @@ async function generateCoverageOption(
239
return {
240
enabled: true,
241
excludeAfterRemap: true,
242
- include: coverage.include,
+ // provide default include if none specified
243
+ include: coverage.include ?? ['src/**/*.{ts,html}'],
244
reportsDirectory: toPosixPath(path.join('coverage', projectName)),
245
thresholds: coverage.thresholds,
246
watermarks: coverage.watermarks,
0 commit comments