hunk.code_window: export default function() {
     return Promise.resolve()
       .then(() => expectToFail(() => ng('get', 'apps.zzz.prefix')))
       .then(() => expectToFail(() => ng('get')))
       .then(() => ng('get', 'apps.0.prefix'))
       .then(({ stdout }) => {
         if (!stdout.match(/app/)) {
           throw new Error(`Expected "app", received "${JSON.stringify(stdout)}".`);
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:     .then(() => ng('get'))
  
hunk.file_path: tests/e2e/tests/commands/get/get.ts
hunk.type: replace
file: import {
    killAllProcesses,
    exec,
    waitForAnyProcessOutputToMatch,
    silentExecAndWaitForOutputToMatch
  } from '../../utils/process';
  import {appendToFile} from '../../utils/fs';
  import {getGlobalVariable} from '../../utils/env';
  
  const webpackGoodRegEx = /webpack: bundle is now VALID|webpack: Compiled successfully./;
  
  export default function() {
    if (process.platform.startsWith('win')) {
      return Promise.resolve();
    }
    // Skip this in ejected tests.
    if (getGlobalVariable('argv').eject) {
      return Promise.resolve();
    }
  
  
    return silentExecAndWaitForOutputToMatch('ng', ['serve'], webpackGoodRegEx)
      // Should trigger a rebuild.
      .then(() => exec('touch', 'src/main.ts'))
      .then(() => waitForAnyProcessOutputToMatch(webpackGoodRegEx, 10000))
      .then(() => appendToFile('src/app/app.component.css', ':host { color: blue; }'))
      .then(() => waitForAnyProcessOutputToMatch(webpackGoodRegEx, 10000))
      .then(() => killAllProcesses(), (err: any) => {
        killAllProcesses();
        throw err;
      });
  }
  