From 9a9e795ba03c76413262d768d785b5bcea75fde4 Mon Sep 17 00:00:00 2001 From: Charles Lyding <19598772+clydin@users.noreply.github.com> Date: Thu, 1 May 2025 10:35:19 -0400 Subject: [PATCH] fix(@angular/build): enable unit-test reporters option The `unit-test` builder's `reporters` option will now pass through the values to the underlying unit-test runner. This allows customization of the reporters used when executing tests. The `unit-test` builder is currently considered experimental. --- packages/angular/build/src/builders/unit-test/builder.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/angular/build/src/builders/unit-test/builder.ts b/packages/angular/build/src/builders/unit-test/builder.ts index 2ba2f140e8bb..7e630553a30e 100644 --- a/packages/angular/build/src/builders/unit-test/builder.ts +++ b/packages/angular/build/src/builders/unit-test/builder.ts @@ -190,6 +190,7 @@ export async function* execute( environment: browser ? 'node' : 'jsdom', watch: normalizedOptions.watch, browser, + reporters: normalizedOptions.reporters ?? ['default'], coverage: { enabled: normalizedOptions.codeCoverage, exclude: normalizedOptions.codeCoverageExclude,