hunk.code_window:     expect(cfg.projects['@myscope/mylib']).toBeDefined();
       const rootTsCfg = JSON.parse(tree.readContent('/tsconfig.json'));
       expect(rootTsCfg.compilerOptions.paths['@myscope/mylib']).toEqual(['dist/myscope/mylib']);
     });
     it(`should dasherize scoped libraries`, () => {
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit:     const karmaConf = getFileContent(tree, '/projects/myscope/mylib/karma.conf.js');
       expect(karmaConf).toContain(`dir: require('path').join(__dirname, '../../../coverage/myscope/mylib')`);
  
hunk.file_path: packages/schematics/angular/library/index_spec.ts
hunk.type: add
file: /**
   * @license
   * Copyright Google Inc. 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
   */
  import * as tags from './literals';
  import * as strings from './strings';
  
  export * from './array';
  export * from './object';
  export * from './template';
  export * from './partially-ordered-set';
  export * from './priority-queue';
  export * from './lang';
  
  export { tags, strings };
  
  export type DeepReadonly<T> =
    T extends (infer R)[] ? DeepReadonlyArray<R> :
      T extends Function ? T :
        T extends object ? DeepReadonlyObject<T> :
          T;
  
  // This should be ReadonlyArray but it has implications.
  export interface DeepReadonlyArray<T> extends Array<DeepReadonly<T>> {}
  
  export type DeepReadonlyObject<T> = {
    readonly [P in keyof T]: DeepReadonly<T[P]>;
  };
  
  export type Readwrite<T> = {
    -readonly [P in keyof T]: T[P];
  };
  