Skip to content

Commit 542973a

Browse files
alan-agius4clydin
authored andcommitted
fix(@angular/build): add adapters to new reporter
This commit add `adapters` field to the `ProgressNotifierReporter`. Closes #31629
1 parent 45e498f commit 542973a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/angular/build/src/builders/karma/application_builder.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ function injectKarmaReporter(
215215

216216
class ProgressNotifierReporter {
217217
static $inject = ['emitter', LATEST_BUILD_FILES_TOKEN];
218+
// Needed for the karma reporter interface, see https://github.com/angular/angular-cli/issues/31629
219+
adapters = [];
218220

219221
constructor(
220222
private readonly emitter: KarmaEmitter,

0 commit comments

Comments
 (0)