Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): workaround karma issue
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva authored and Keen Yee Liau committed Oct 4, 2018
1 parent ea89f75 commit 5adebf9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/angular_devkit/build_angular/src/karma/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ export class KarmaBuilder implements Builder<KarmaBuilderSchema> {
// Pass onto Karma to emit BuildEvents.
successCb: () => obs.next({ success: true }),
failureCb: () => obs.next({ success: false }),
// Workaround for https://github.com/karma-runner/karma/issues/3154
// When this workaround is removed, user projects need to be updated to use a Karma
// version that has a fix for this issue.
toJSON: () => { },
};

// TODO: inside the configs, always use the project root and not the workspace root.
Expand Down

0 comments on commit 5adebf9

Please sign in to comment.