hunk.code_window: import * as webpack from 'webpack';
   import * as path from 'path';
   import * as rimraf from 'rimraf';
   const Task = require('../ember-cli/lib/models/task');
  
hunk.labels: keep replace replace keep keep
hunk.after_edit: import { XI18nWebpackConfig } from '../models/webpack-xi18n-config';
   import { getAppFromConfig } from '../utilities/app-utils';
  
hunk.file_path: packages/@angular/cli/tasks/extract-i18n.ts
hunk.type: replace
file: import {join} from 'path';
  import {ng} from '../../../utils/process';
  import {expectFileToMatch} from '../../../utils/fs';
  
  
  export default function() {
    const modulePath = join('src', 'app', 'app.module.ts');
  
    return ng('generate', 'component', 'test-component', '--export')
      .then(() => expectFileToMatch(modulePath, 'exports: [TestComponentComponent]'))
  
      // Try to run the unit tests.
      .then(() => ng('test', '--single-run'));
  }
  