<commit_before>module.exports = function(config) {
  config.set({
    browsers: ['Chrome'],

    frameworks: ['jspm', 'mocha', 'chai', 'sinon'],

    jspm: {
      // ES6 files need to go through jspm for module loading.
      loadFiles: ['src/**/*.js', 'test/**/*.js']
    },

    files: [
      'test/html/fixture/*.html',
    ],

    preprocessors: {
      // All src files should be included in the coverage report, except
      // Promise, since that's not our code for now. These files don't
      // need to go through the `babel` preprocessor, as the `coverage`
      // preprocessor already does the necessary conversion.
      'src/*.js': ['coverage'],
      'src/!(promise)/**/*.js': ['coverage'],

      // Since tests and Promise are not going through the `coverage`
      // preprocessor we need to explicitly make them go through `babel`.
      'src/promise/Promise.js': ['babel'],
      'test/**/*.js': ['babel'],

      // Fixture htmls should go through `html2js` so tests can access
      // them through the `window.__html__` variable.
      'test/html/fixture/*.html': ['html2js']
    },

    '6to5Preprocessor': {
      options: {
        sourceMap: 'inline',
        modules: 'system'
      }
    },

    reporters: ['coverage', 'progress'],

    coverageReporter: {
      instrumenters: { isparta : require('isparta') },
      instrumenter: {
        '**/*.js': 'isparta'
      },
      reporters: [
        {
          type : 'text-summary'
        },
        {
          type : 'html'
        },
        {
          type: 'lcov',<commit_msg>Simplifies karma.conf.js<commit_after>module.exports = function(config) {
  config.set({
    browsers: ['Chrome'],

    frameworks: ['jspm', 'mocha', 'chai', 'sinon'],

    jspm: {
      // ES6 files need to go through jspm for module loading.
      loadFiles: ['src/**/*.js', 'test/**/*.js']
    },

    files: [
      'test/html/fixture/*.html',
    ],

    preprocessors: {
      // All src files should be included in the coverage report, except
      // Promise, since that's not our code for now. These files don't
      // need to go through the `babel` preprocessor, as the `coverage`
      // preprocessor already does the necessary conversion.
      'src/*.js': ['coverage'],
      'src/!(promise)/**/*.js': ['coverage'],

      // Since tests and Promise are not going through the `coverage`
      // preprocessor we need to explicitly make them go through `babel`.
      'src/promise/Promise.js': ['babel'],
      'test/**/*.js': ['babel'],

      // Fixture htmls should go through `html2js` so tests can access
      // them through the `window.__html__` variable.
      'test/html/fixture/*.html': ['html2js']
    },

    reporters: ['coverage', 'progress'],

    coverageReporter: {
      instrumenters: { isparta : require('isparta') },
      instrumenter: {
        '**/*.js': 'isparta'
      },
      reporters: [
        {
          type : 'text-summary'
        },
        {
          type : 'html'
        },
        {
          type: 'lcov',
{'fraction_non_alphanumeric': 0.15968327284724512, 'fraction_numerical': 0.0026393929396238865, 'mean_word_length': 2.122554067971164, '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': '3894356', 'n_tokens_mistral': 946, 'n_tokens_neox': 924, 'n_words': 260}