hunk.code_window:         "@npm//ajv",
           "@npm//magic-string",
           "@npm//rxjs",
           "@npm//source-map",
           # @typings: es2015.core
           # @typings: es2015.proxy
           # @typings: es2015.reflect
           # @typings: es2015.symbol.wellknown
           # @typings: es2016.array.include
       ],
   )
  
hunk.labels: keep keep keep keep replace replace replace replace replace keep keep keep
hunk.after_edit:         # @node_module: typescript:es2015.core
           # @node_module: typescript:es2015.proxy
           # @node_module: typescript:es2015.reflect
           # @node_module: typescript:es2015.symbol.wellknown
           # @node_module: typescript:es2016.array.include
  
hunk.file_path: packages/angular_devkit/core/BUILD
hunk.type: replace
file: import { assetDir } from '../../../utils/assets';
  import { ng } from '../../../utils/process';
  
  const warning = 'Adding the package may not succeed.';
  
  export default async function () {
    const { stderr: bad } = await ng('add', assetDir('add-collection-peer-bad'));
    if (!bad.includes(warning)) {
      throw new Error('peer warning not shown on bad package');
    }
  
    const { stderr: base  } = await ng('add', assetDir('add-collection'));
    if (base.includes(warning)) {
      throw new Error('peer warning shown on base package');
    }
  
    const { stderr: good  } = await ng('add', assetDir('add-collection-peer-good'));
    if (good.includes(warning)) {
      throw new Error('peer warning shown on good package');
    }
  }
  