hunk.code_window:     await run.stop();
     });
     it('deletes output path and unlink symbolic link', async () => {
       // Write a file to the output path to later verify it was deleted.
       host.writeMultipleFiles({
  
hunk.labels: keep keep keep replace keep keep
hunk.after_edit:   it('deletes output path content and unlink symbolic link', async () => {
  
hunk.file_path: packages/angular_devkit/build_angular/src/builders/browser/specs/output-path_spec.ts
hunk.type: replace
file: import { getGlobalVariable } from '../../utils/env';
  import { expectFileToExist } from '../../utils/fs';
  import { expectGitToBeClean } from '../../utils/git';
  import { ng } from '../../utils/process';
  import { updateJsonFile } from '../../utils/project';
  import { expectToFail } from '../../utils/utils';
  
  export default function () {
    // TODO(architect): Delete this test. It is now in devkit/build-angular.
  
    const usingWebpack = !getGlobalVariable('argv')['esbuild'];
  
    return ng('build', '--output-path', 'build-output', '--configuration=development')
      .then(() => expectFileToExist(`./build-output/${usingWebpack ? '' : 'browser/'}index.html`))
      .then(() => expectFileToExist(`./build-output/${usingWebpack ? '' : 'browser/'}main.js`))
      .then(() => expectToFail(expectGitToBeClean))
      .then(() =>
        updateJsonFile('angular.json', (workspaceJson) => {
          const appArchitect = workspaceJson.projects['test-project'].architect;
          appArchitect.build.options.outputPath = 'config-build-output';
        }),
      )
      .then(() => ng('build', '--configuration=development'))
      .then(() =>
        expectFileToExist(`./config-build-output/${usingWebpack ? '' : 'browser/'}index.html`),
      )
      .then(() => expectFileToExist(`./config-build-output/${usingWebpack ? '' : 'browser/'}main.js`))
      .then(() => expectToFail(expectGitToBeClean));
  }
  