hunk.code_window:         .then(() => _exec({silent: true}, 'node_modules/.bin/webpack', []));
       }
       return silentNg(...args, '--no-progress');
     } else {
       return _exec({}, 'ng', args);
     }
   }
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:     return silentNg(...args);
  
hunk.file_path: tests/e2e/utils/process.ts
hunk.type: replace
file: import {ng} from '../../utils/process';
  import {expectFileToExist} from '../../utils/fs';
  import {expectToFail} from '../../utils/utils';
  import {getGlobalVariable} from '../../utils/env';
  
  
  export default function() {
    // Skip this in Appveyor tests.
    if (getGlobalVariable('argv').appveyor) {
      return Promise.resolve();
    }
  
    return ng('build')
      .then(() => expectFileToExist('dist/main.bundle.js.map'))
  
      .then(() => ng('build', '--no-sourcemap'))
      .then(() => expectToFail(() => expectFileToExist('dist/main.bundle.js.map')))
  
      .then(() => ng('build', '--prod', '--output-hashing=none'))
      .then(() => expectToFail(() => expectFileToExist('dist/main.bundle.js.map')))
  
      .then(() => ng('build', '--prod', '--output-hashing=none', '--sourcemap'))
      .then(() => expectFileToExist('dist/main.bundle.js.map'));
  }
  