hunk.code_window:   get compilation() { return this._compilation; }
     get compilerHost() { return this._compilerHost; }
     get compilerOptions() { return this._compilerOptions; }
     get done() { return this._donePromise; }
     get entryModule() {
       const splitted = this._entryModule.split('#');
       const path = splitted[0];
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit:   get failedCompilation() { return this._failedCompilation; }
  
hunk.file_path: packages/@ngtools/webpack/src/plugin.ts
hunk.type: add
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'));
  }
  