Skip to content

Commit 5ad14ad

Browse files
fixup! fix(@angular/build): warn about unsupported options in the unit-test karma runner
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent f1bd6fe commit 5ad14ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/angular/build/src/builders/unit-test/runners/karma

‎packages/angular/build/src/builders/unit-test/runners/karma/executor.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class KarmaExecutor implements TestExecutor {
6565
);
6666
}
6767

68-
if (unitTestOptions.coverage.reporters) {
68+
if (unitTestOptions.coverage?.reporters) {
6969
context.logger.warn(
7070
'The "karma" test runner does not support the "coverageReporters" option. The option will be ignored.',
7171
);

0 commit comments

Comments
 (0)