Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7bb1f87

Browse filesBrowse 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. (cherry picked from commit 457b447)
1 parent 2b28ecd commit 7bb1f87
Copy full SHA for 7bb1f87

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
  • packages/angular/build/src/builders/unit-test
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

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

Copy file name to clipboardExpand all lines: packages/angular/build/src/builders/unit-test/builder.ts
+1Lines changed: 1 addition & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.