hunk.code_window:     case OptionType.Number:
         if (str === undefined) {
           return 0;
         } else if (Number.isFinite(+str)) {
           return +str;
         } else {
           return undefined;
         }
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:       } else if (str === '') {
           return undefined;
  
hunk.file_path: packages/angular/cli/models/parser.ts
hunk.type: add
file: import { ng } from '../../utils/process';
  import { expectFileToMatch, expectFileToExist } from '../../utils/fs';
  import { expectToFail } from '../../utils/utils';
  
  
  export default function () {
    // TODO(architect): Delete this test. It is now in devkit/build-angular.
  
    return ng('build', '--aot', '--build-optimizer')
      .then(() => expectToFail(() => expectFileToMatch('dist/test-project/main.js', /\.decorators =/)))
      .then(() => ng('build', '--prod'))
      .then(() => expectToFail(() => expectFileToExist('dist/vendor.js')))
      .then(() => expectToFail(() => expectFileToMatch('dist/test-project/main.js', /\.decorators =/)))
      .then(() => expectToFail(() => ng('build', '--aot=false', '--build-optimizer')));
  }
  