hunk.code_window:       console.log(funky('town'));
       `))
       // Should trigger a rebuild, no error expected.
       .then(() => waitForAnyProcessOutputToMatch(doneRe, 10000))
       // Create and import files.
       .then(() => wait(2000))
       .then(() => writeFile('src/funky2.ts', `
         export function funky(value: number): number {
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:     // Make an invalid version of the file.
  
hunk.file_path: tests/e2e/tests/build/rebuild-deps-type-check.ts
hunk.type: replace
file: import {join} from 'path';
  import {ng} from '../../utils/process';
  import {expectFileToExist} from '../../utils/fs';
  
  
  export default function() {
    const classDir = join('src', 'app');
  
    return ng('generate', 'class', 'test-class', '--spec')
      .then(() => expectFileToExist(classDir))
      .then(() => expectFileToExist(join(classDir, 'test-class.ts')))
      .then(() => expectFileToExist(join(classDir, 'test-class.spec.ts')))
  
      // Try to run the unit tests.
      .then(() => ng('test', '--single-run'));
  }
  