<commit_before>/* global describe before it */

const helpers = require('yeoman-test');
const assert = require('yeoman-assert');
const path  = require('path');

describe('generator-create-redux-app', () => {
  describe('Run yeoman generator-create-redux-app ', () => {
    before(() => helpers.run(path.join(__dirname, '../generators/app'))
      .withPrompts({
        projectName: 'projectName',
        projectDescription: 'projectDescription',
        projectVersion: 'projectVersion',
        authorName: 'authorName',
      })
      .toPromise());

    // test included files
    [{
      desc : 'generates an index.html file',
      files: ['public/index.html'],
    }, {
      desc : 'generates a favicon.ico file',
      files: ['public/favicon.ico'],
    }, {
      desc : 'generates a docs folder',
      files: ['docs'],
    }, {
      desc : 'generates a src folder',
      files: ['src'],
    }, {
      desc : 'generates an .editorconfig file',
      files: ['.editorconfig'],
    }, {
      desc : 'generates a .gitignore file',
      files: ['.gitignore'],
    }, {<commit_msg>Add test<commit_after>/* global describe before it */

const helpers = require('yeoman-test');
const assert = require('yeoman-assert');
const path  = require('path');

describe('generator-create-redux-app', () => {
  describe('Run yeoman generator-create-redux-app ', () => {
    before(() => helpers.run(path.join(__dirname, '../generators/app'))
      .withPrompts({
        projectName: 'projectName',
        projectDescription: 'projectDescription',
        projectVersion: 'projectVersion',
        authorName: 'authorName',
      })
      .toPromise());

    // test included files
    [{
      desc : 'generates an index.html file',
      files: ['public/index.html'],
    }, {
      desc : 'generates a favicon.ico file',
      files: ['public/favicon.ico'],
    }, {
      desc : 'generates a docs folder',
      files: ['docs'],
    }, {
      desc : 'generates a generators folder',
      files: ['generators'],
    }, {
      desc : 'generates a src folder',
      files: ['src'],
    }, {
      desc : 'generates an .editorconfig file',
      files: ['.editorconfig'],
    }, {
      desc : 'generates a .gitignore file',
      files: ['.gitignore'],
    }, {
{'fraction_non_alphanumeric': 0.17071018967798854, 'fraction_numerical': 0.0, 'mean_word_length': 2.588607594936709, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6296548', 'n_tokens_mistral': 672, 'n_tokens_neox': 662, 'n_words': 160}