hunk.code_window:       expect(afterGenerateParentComponent).to.equal(unmodifiedParentComponent);
         expect(afterGenerateParentHtml).to.equal(unmodifiedParentComponentHtml);
       });
     });
   });
hunk.labels: keep keep keep keep add keep
hunk.after_edit:   it('lazy route prefix', () => {
       return ng(['set', 'defaults.lazyRoutePrefix', 'myprefix'])
         .then(() => ng(['generate', 'route', 'prefix-test']))
         .then(() => {
           var folderPath = path.join(testPath, 'myprefixprefix-test', 'prefix-test.component.ts');
           expect(existsSync(folderPath))
             .to.equal(true);
         });
     });
  
hunk.file_path: tests/acceptance/generate-route.spec.js
hunk.type: add
file: 'use strict';
  // Load the environment file defined by the EMBER_ENV environment variable.
  const fs = require('fs');
  const path = require('path');
  const ts = require('typescript');
  
  
  // Export the content of the transpiled file.
  module.exports = function loadEnvironment(project, environment) {
    let env = environment || process.env['EMBER_ENV'] || 'dev';
    switch (env) {
    case 'production': env = 'prod'; break;
    case 'development': env = 'dev'; break;
    }
  
    // Load the content of the environment file.
    const filePath = path.join(project.root, `config/environment.${env}.ts`);
    const source = fs.readFileSync(filePath, 'utf-8');
    const result = ts.transpile(source, {
      target: ts.ScriptTarget.ES5,
      module: ts.ModuleKind.CommonJs
    });
  
    const Module = module.constructor;
    const m = new Module();
    m._compile(result, filePath);
    return m.exports.environment;
  };
  