<commit_before>module.exports = {
  coverageDirectory: './coverage/',
  moduleFileExtensions: [
    'ts',
    'tsx',
    'js',
    'jsx',
    'json',
  ],
  testMatch: [
    '**/test/**/*-test.(ts|tsx|js)',
  ],
  transform: {
    '\\.tsx?$': 'ts-jest',
    '\\.js?$': 'babel-jest',
  },
  setupFilesAfterEnv: [
    '<rootDir>/src/test/common.js',
  ],
  testEnvironment: 'node',
};<commit_msg>Manually ignore schema-form and browser tests on node 8<commit_after>const semver = require('semver');

const testPathIgnorePatterns = [
  '/node_modules/',
];
if (semver.major(process.versions.node) <= 9) {
  // fluent uses node 10 features
  testPathIgnorePatterns.push('<rootDir>/src/test/schema-form');
  testPathIgnorePatterns.push('<rootDir>/src/test/browser');
}

module.exports = {
  coverageDirectory: './coverage/',
  moduleFileExtensions: [
    'ts',
    'tsx',
    'js',
    'jsx',
    'json',
  ],
  testMatch: [
    '**/test/**/*-test.(ts|tsx|js)',
  ],
  testPathIgnorePatterns,
  transform: {
    '\\.tsx?$': 'ts-jest',
    '\\.js?$': 'babel-jest',
  },
  setupFilesAfterEnv: [
    '<rootDir>/src/test/common.js',
  ],
  testEnvironment: 'node',
};
{'fraction_non_alphanumeric': 0.21848013816925735, 'fraction_numerical': 0.0034542314335060447, 'mean_word_length': 3.184115523465704, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 7, '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': '5124450', 'n_tokens_mistral': 446, 'n_tokens_neox': 439, 'n_words': 65}