<commit_before>'use strict';

const path = require('path');

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

describe('ml', function () {
  before(function () {
    return helpers.run(path.join(__dirname, '../generators/app'))
      .withPrompts({
        userName: 'cheminfo',
        org: 'ml',
        description: 'test'
      })
      .toPromise();
  });

  it('creates files', function () {
    assert.file([
      '.gitignore',
      '.travis.yml',
      '.eslintrc.yml',
      'src/index.js',
      'src/__test__/test.js',
      'LICENSE',
      'package.json',
      'README.md'
    ]);
  });
});

describe('ml', function () {
  before(function () {
    return helpers.run(path.join(__dirname, '../generators/app'))
      .withPrompts({
        userName: 'cheminfo',
        org: 'ml',
        description: 'test',
        runkit: true
      })
      .toPromise();
  });

  it('creates files', function () {
    assert.file([
      '.gitignore',
      '.travis.yml',
      '.eslintrc.yml',
      'src/index.js',
      'src/__test__/test.js',
      'LICENSE',
      'package.json',
      'runkit.js',
      'README.md'
    ]);
  });
});

describe('cheminfo-js', function () {
  before(function () {
    return helpers.run(path.join(__dirname, '../generators/app'))
      .withPrompts({
        userName: 'cheminfo',
        org: 'cheminfo-js',
        description: 'test'
      })
      .toPromise();
  });

  it('creates files', function () {
    assert.file([
      '.gitignore',
      '.travis.yml',
      '.eslintrc.yml',
      'src/index.js',
      'src/__test__/test.js',
      'LICENSE',
      'package.json',
      'README.md'
    ]);
  });
});<commit_msg>fix: __tests__ as test (#10)<commit_after>'use strict';

const path = require('path');

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

describe('ml', function () {
  before(function () {
    return helpers.run(path.join(__dirname, '../generators/app'))
      .withPrompts({
        userName: 'cheminfo',
        org: 'ml',
        description: 'test'
      })
      .toPromise();
  });

  it('creates files', function () {
    assert.file([
      '.gitignore',
      '.travis.yml',
      '.eslintrc.yml',
      'src/index.js',
      'src/__tests__/test.js',
      'LICENSE',
      'package.json',
      'README.md'
    ]);
  });
});

describe('ml', function () {
  before(function () {
    return helpers.run(path.join(__dirname, '../generators/app'))
      .withPrompts({
        userName: 'cheminfo',
        org: 'ml',
        description: 'test',
        runkit: true
      })
      .toPromise();
  });

  it('creates files', function () {
    assert.file([
      '.gitignore',
      '.travis.yml',
      '.eslintrc.yml',
      'src/index.js',
      'src/__tests__/test.js',
      'LICENSE',
      'package.json',
      'runkit.js',
      'README.md'
    ]);
  });
});

describe('cheminfo-js', function () {
  before(function () {
    return helpers.run(path.join(__dirname, '../generators/app'))
      .withPrompts({
        userName: 'cheminfo',
        org: 'cheminfo-js',
        description: 'test'
      })
      .toPromise();
  });

  it('creates files', function () {
    assert.file([
      '.gitignore',
      '.travis.yml',
      '.eslintrc.yml',
      'src/index.js',
      'src/__tests__/test.js',
      'LICENSE',
      'package.json',
      'README.md'
    ]);
  });
});
{'fraction_non_alphanumeric': 0.197667638483965, 'fraction_numerical': 0.0005830903790087463, 'mean_word_length': 2.121929026387625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5846423', 'n_tokens_mistral': 1190, 'n_tokens_neox': 1164, 'n_words': 188}