hunk.code_window:       "description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\"."
       }
     },
     "required": ["name"]
   }
hunk.labels: keep keep keep replace keep
hunk.after_edit:   "required": ["name", "project"]
  
hunk.file_path: packages/schematics/angular/class/schema.json
hunk.type: replace
file: /**
   * @license
   * Copyright Google LLC All Rights Reserved.
   *
   * Use of this source code is governed by an MIT-style license that can be
   * found in the LICENSE file at https://angular.io/license
   */
  
  /* eslint-disable import/no-extraneous-dependencies */
  import { NodeJsSyncHost } from '@angular-devkit/core/node';
  import { NodeWorkflow } from '@angular-devkit/schematics/tools';
  import * as path from 'path';
  
  describe('NodeWorkflow', () => {
    // TODO: this test seems to either not work on windows or on linux.
    xit('works', (done) => {
      const workflow = new NodeWorkflow(new NodeJsSyncHost(), { dryRun: true });
      const collection = path.join(__dirname, '../../../../schematics/angular/package.json');
  
      workflow
        .execute({
          collection,
          schematic: 'ng-new',
          options: { name: 'workflow-test', version: '6.0.0-rc.4' },
        })
        .toPromise()
        .then(done, done.fail);
    });
  });
  