Skip to content

Commit 457b447

Browse files
clydinjkrems
authored andcommitted
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.
1 parent 8d471e5 commit 457b447

File tree

1 file changed

+1
-0
lines changed
  • packages/angular/build/src/builders/unit-test

1 file changed

+1
-0
lines changed

packages/angular/build/src/builders/unit-test/builder.ts

+1
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ export async function* execute(
190190
environment: browser ? 'node' : 'jsdom',
191191
watch: normalizedOptions.watch,
192192
browser,
193+
reporters: normalizedOptions.reporters ?? ['default'],
193194
coverage: {
194195
enabled: normalizedOptions.codeCoverage,
195196
exclude: normalizedOptions.codeCoverageExclude,

0 commit comments

Comments
 (0)