hunk.code_window:    * @param status Update the status string. If omitted the status string is not modified.
      */
     reportProgress(current: number, total?: number, status?: string): void;
     /**
      * Add teardown logic to this Context, so that when it's being stopped it will execute teardown.
      */
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit:   /**
      * API to report analytics. This might be undefined if the feature is unsupported. This might
      * not be undefined, but the backend could also not report anything.
      */
     readonly analytics: analytics.Analytics;
  
hunk.file_path: packages/angular_devkit/architect/src/api.ts
hunk.type: add
file: import { ng } from '../../../utils/process';
  import { expectToFail } from '../../../utils/utils';
  import { oneLine } from 'common-tags';
  
  export default function () {
    return ng('generate', 'component', 'test-component')
      .then((output) => {
        // tslint:disable-next-line:max-line-length
        if (!output.stdout.match(/UPDATE src[\\|\/]app[\\|\/]app.module.ts/)) {
          throw new Error(oneLine`
            Expected to match
            "UPDATE src/app.module.ts"
            in ${output.stdout}.`);
        }
      })
      .then(() => expectToFail(() => ng('generate', 'component', 'test-component')));
  }
  