hunk.code_window:     })
       .then(() => request('http://localhost:4200/deployurl/'))
       .then(body => {
         if (!body.match(/<app-root><\/app-root>/)) {
           throw new Error('Response does not match expected value.');
         }
       })
       .then(() => killAllProcesses(), (err) => { killAllProcesses(); throw err; });
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:         throw new Error('Response does not match expected value. (3)');
  
hunk.file_path: tests/e2e/tests/misc/deploy-url.ts
hunk.type: replace
file: import {join} from 'path';
  import {ng} from '../../../utils/process';
  import {expectFileToExist} from '../../../utils/fs';
  import {expectToFail} from '../../../utils/utils';
  
  
  export default function() {
    const moduleDir = join('src', 'app', 'test');
  
    return ng('generate', 'module', 'test', '--routing')
      .then(() => expectFileToExist(moduleDir))
      .then(() => expectFileToExist(join(moduleDir, 'test.module.ts')))
      .then(() => expectFileToExist(join(moduleDir, 'test-routing.module.ts')))
      .then(() => expectToFail(() => expectFileToExist(join(moduleDir, 'test.spec.ts'))))
      // Try to run the unit tests.
      .then(() => ng('test', '--single-run'));
  }
  