<commit_before>/* eslint-env node */

const { JEST_NOTIFY, ENABLE_JEST_NOTIFICATIONS } = process.env

module.exports = {
  // Provides nice test output of what's being run
  verbose: true,

  // OS notifications of test results in watch mode only
  // 😢 https://github.com/facebook/jest/issues/8036
  notify: Boolean(JEST_NOTIFY) && Boolean(ENABLE_JEST_NOTIFICATIONS),

  // Test coverage can be enforced with a coverageThreshold
  collectCoverage: true,
  coverageReporters: ['text-summary'],
  collectCoverageFrom: ['src/**/*.js'],

  // Pre/Post test framework setup configs
  setupFilesAfterEnv: ['<rootDir>/test/jest-extend.js'],
}<commit_msg>Test: Fix test coverage metrics and enable notifications again 🎉<commit_after>/* eslint-env node */

const { ENABLE_JEST_NOTIFICATIONS } = process.env

module.exports = {
  // Provides nice test output of what's being run
  verbose: true,

  // OS notifications of test results is an opt in for funesies
  notify: Boolean(ENABLE_JEST_NOTIFICATIONS),

  // Test coverage can be enforced with a coverageThreshold
  collectCoverage: true,
  coverageReporters: ['text-summary'],
  collectCoverageFrom: ['src/**/*.js', '!**/*.stories.js'],

  // Pre/Post test framework setup configs
  setupFilesAfterEnv: ['<rootDir>/test/jest-extend.js'],
}
{'fraction_non_alphanumeric': 0.12295719844357976, 'fraction_numerical': 0.0031128404669260703, 'mean_word_length': 4.248979591836735, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '1402709', 'n_tokens_mistral': 416, 'n_tokens_neox': 395, 'n_words': 114}