hunk.code_window:   });
   }, Promise.resolve())
   .then(
     () => console.log(green('Done.')),
     (err) => {
       console.log('\n');
       console.error(red(`Test "${currentFileName}" failed...`));
       console.error(red(err.message));
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:   () => {
       console.log(green('Done.'));
       process.exit(0);
     },
  
hunk.file_path: tests/e2e_runner.js
hunk.type: replace
file: var path = require('path');
  const chalk = require('chalk');
  var dynamicPathParser = require('../../utilities/dynamic-path-parser');
  
  module.exports = {
    description: '',
  
    availableOptions: [
      { name: 'flat', type: Boolean, default: true }
    ],
  
    normalizeEntityName: function (entityName) {
      var parsedPath = dynamicPathParser(this.project, entityName);
  
      this.dynamicPath = parsedPath;
      return parsedPath.name;
    },
  
    locals: function (options) {
      return {
        dynamicPath: this.dynamicPath.dir,
        flat: options.flat
      };
    },
  
    fileMapTokens: function (options) {
      // Return custom template variables here.
      return {
        __path__: () => {
          var dir = this.dynamicPath.dir;
          if (!options.locals.flat) {
            dir += path.sep + options.dasherizedModuleName;
          }
          this.generatePath = dir;
          return dir;
        }
      };
    },
  
    afterInstall() {
      const warningMessage = 'Service is generated but not provided, it must be provided to be used';
      this._writeStatusToUI(chalk.yellow, 'WARNING', warningMessage);
    }
  };
  