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 {join} from 'path';
  import {ng} from '../../utils/process';
  import {
    expectFileToExist, writeFile,
    expectFileToMatch
  } from '../../utils/fs';
  
  
  export default function() {
    return ng('generate', 'component', 'i18n-test')
      .then(() => writeFile(
        join('src/app/i18n-test', 'i18n-test.component.html'),
        '<p i18n>Hello world</p>'))
      .then(() => ng('xi18n', '--output-path', 'src/locale'))
      .then(() => expectFileToExist(join('src', 'locale', 'messages.xlf')))
      .then(() => expectFileToMatch(join('src', 'locale', 'messages.xlf'), /Hello world/));
  }
  