hunk.code_window:   typeChecking?: boolean;
     skipCodeGeneration?: boolean;
     hostOverrideFileSystem?: { [path: string]: string };
     i18nFile?: string;
     i18nFormat?: string;
     locale?: string;
  
hunk.labels: keep keep add keep keep keep keep
hunk.after_edit:   hostReplacementPaths?: { [path: string]: string };
  
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', 'directive', 'test-directive', '--module', 'app.module.ts')
      .then(() => expectFileToMatch(modulePath,
        /import { TestDirectiveDirective } from '.\/test-directive.directive'/))
  
      // Try to run the unit tests.
      .then(() => ng('build'));
  }
  