<commit_before>import path = require('path');

module.exports = function(name: string, baseDir: string) {
  return {
    transform: {
      '^.+\\.tsx?$': 'ts-jest'
    },
    moduleNameMapper: {
      '\\.(css|less|sass|scss)$': 'identity-obj-proxy',
      '\\.(gif|ttf|eot|svg)$': '@jupyterlab/testutils/lib/jest-file-mock.js'
    },
    setupTestFrameworkScriptFile: '@jupyterlab/testutils/lib/jest-script.js',
    setupFiles: ['@jupyterlab/testutils/lib/jest-shim.js'],
    testPathIgnorePatterns: ['/dev_mode/', '/lib/', '/node_modules/'],
    moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
    rootDir: path.resolve(path.join(baseDir, '..', '..')),
    reporters: ['default', 'jest-junit'],
    collectCoverageFrom: [
      `packages/${name}/src/**.{ts,tsx}`,
      `!packages/${name}/src/*.d.ts`
    ],
    coverageReporters: ['json', 'lcov', 'text', 'html', 'cobertura'],
    coverageDirectory: path.join(baseDir, 'coverage'),
    testRegex: `tests\/test-${name}\/src\/.*\.spec\.ts$`,
    globals: {
      'ts-jest': {
        tsConfigFile: `tests/test-${name}/tsconfig.json`
      }
    }
  };
};<commit_msg>remove coverage for AP<commit_after>import path = require('path');

module.exports = function(name: string, baseDir: string) {
  return {
    transform: {
      '^.+\\.tsx?$': 'ts-jest'
    },
    moduleNameMapper: {
      '\\.(css|less|sass|scss)$': 'identity-obj-proxy',
      '\\.(gif|ttf|eot|svg)$': '@jupyterlab/testutils/lib/jest-file-mock.js'
    },
    setupTestFrameworkScriptFile: '@jupyterlab/testutils/lib/jest-script.js',
    setupFiles: ['@jupyterlab/testutils/lib/jest-shim.js'],
    testPathIgnorePatterns: ['/dev_mode/', '/lib/', '/node_modules/'],
    moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
    rootDir: path.resolve(path.join(baseDir, '..', '..')),
    reporters: ['default', 'jest-junit'],
    collectCoverageFrom: [
      `packages/${name}/src/**.{ts,tsx}`,
      `!packages/${name}/src/*.d.ts`
    ],
    coverageReporters: ['json', 'lcov', 'text', 'html'],
    coverageDirectory: path.join(baseDir, 'coverage'),
    testRegex: `tests\/test-${name}\/src\/.*\.spec\.ts$`,
    globals: {
      'ts-jest': {
        tsConfigFile: `tests/test-${name}/tsconfig.json`
      }
    }
  };
};
{'fraction_non_alphanumeric': 0.23500881834215168, 'fraction_numerical': 0.0, 'mean_word_length': 3.2570356472795496, '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': '3924061', 'n_tokens_mistral': 855, 'n_tokens_neox': 842, 'n_words': 112}