hunk.code_window:               case BuilderProgressState.Running:
                   progress({ state: currentState, current, total, status }, context);
               }
             },
             addTeardown(teardown: () => (Promise<void> | void)): void {
               teardownLogics.push(teardown);
             },
           };
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:           analytics: new analytics.ForwardingAnalytics(report => analyticsChannel.next(report)),
  
hunk.file_path: packages/angular_devkit/architect/src/create-builder.ts
hunk.type: add
file: import {join} from 'path';
  import {ng} from '../utils/process';
  import {expectFileToExist} from '../utils/fs';
  import {prepareProjectForE2e} from '../utils/project';
  import {gitClean} from '../utils/git';
  import {getGlobalVariable} from '../utils/env';
  
  
  export default async function() {
    const argv = getGlobalVariable('argv');
    const extraArgs = [];
  
    if (argv['ivy']) {
      extraArgs.push('--enable-ivy');
    }
  
    if (argv.noproject) {
      return;
    }
  
    if (argv.reuse) {
      process.chdir(argv.reuse);
      await gitClean();
    } else {
      await ng('new', 'test-project', '--skip-install', ...extraArgs);
      await expectFileToExist(join(process.cwd(), 'test-project'));
      process.chdir('./test-project');
    }
  
    await prepareProjectForE2e('test-project');
    await ng('version');
  }
  