<commit_before>// This file is named differently than its JS bootstrapper to avoid the ts compiler to overwrite it.

import path = require('path');
import { customLaunchers } from './browser-providers.ts';


export function config(config) {
  config.set({
    basePath: path.join(__dirname, '../..'),
    frameworks: ['jasmine'],
    plugins: [
      require('karma-jasmine'),
      require('karma-coverage'),
      require('karma-sourcemap-loader'),
      require('karma-chrome-launcher')
    ],
    files: [
      {pattern: 'dist/vendor/core-js/client/core.js', included: true, watched: false},
      {pattern: 'dist/vendor/systemjs/dist/system-polyfills.js', included: true, watched: false},
      {pattern: 'dist/vendor/systemjs/dist/system.src.js', included: true, watched: false},
      {pattern: 'dist/vendor/zone.js/dist/zone.js', included: true, watched: false},
      {pattern: 'dist/vendor/zone.js/dist/proxy.js', included: true, watched: false},
      {pattern: 'dist/vendor/zone.js/dist/async-test.js', included: true, watched: false},
      {pattern: 'dist/vendor/zone.js/dist/fake-async-test.js', included: true, watched: false},

      {pattern: 'scripts/karma/system.config.js', included: true, watched: false},

      // paths loaded via module imports
      {pattern: 'dist/**/*.js', included: false, watched: true},

      // paths to support debugging with source maps in dev tools
      {pattern: 'dist/**/*.ts', included: false, watched: false},
      {pattern: 'dist/**/*.js.map', included: false, watched: false}
    ],
    proxies: {},

    customLaunchers: customLaunchers,

    exclude: [
      'dist/e2e/**/*',
      'dist/ionic-angular/components/slides/swiper-widget*'
    ],
    // Source files that you wanna generate coverage for.
    // Do not include tests or libraries (these files will be instrumented by Istanbul)
    preprocessors: {
      'dist/ionic-angular/**/!(*spec).js': ['coverage'],
      'dist/ionic-angular/**/*.js': ['sourcemap']
    },
    reporters: ['dots', 'coverage'],
    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,<commit_msg>chore(): generate coverage to umd js only<commit_after>// This file is named differently than its JS bootstrapper to avoid the ts compiler to overwrite it.

import path = require('path');
import { customLaunchers } from './browser-providers.ts';


export function config(config) {
  config.set({
    basePath: path.join(__dirname, '../..'),
    frameworks: ['jasmine'],
    plugins: [
      require('karma-jasmine'),
      require('karma-coverage'),
      require('karma-sourcemap-loader'),
      require('karma-chrome-launcher')
    ],
    files: [
      {pattern: 'dist/vendor/core-js/client/core.js', included: true, watched: false},
      {pattern: 'dist/vendor/systemjs/dist/system-polyfills.js', included: true, watched: false},
      {pattern: 'dist/vendor/systemjs/dist/system.src.js', included: true, watched: false},
      {pattern: 'dist/vendor/zone.js/dist/zone.js', included: true, watched: false},
      {pattern: 'dist/vendor/zone.js/dist/proxy.js', included: true, watched: false},
      {pattern: 'dist/vendor/zone.js/dist/async-test.js', included: true, watched: false},
      {pattern: 'dist/vendor/zone.js/dist/fake-async-test.js', included: true, watched: false},

      {pattern: 'scripts/karma/system.config.js', included: true, watched: false},

      // paths loaded via module imports
      {pattern: 'dist/**/*.js', included: false, watched: true},

      // paths to support debugging with source maps in dev tools
      {pattern: 'dist/**/*.ts', included: false, watched: false},
      {pattern: 'dist/**/*.js.map', included: false, watched: false}
    ],
    proxies: {},

    customLaunchers: customLaunchers,

    exclude: [
      'dist/e2e/**/*',
      'dist/ionic-angular/components/slides/swiper-widget*'
    ],
    // Source files that you wanna generate coverage for.
    // Do not include tests or libraries (these files will be instrumented by Istanbul)
    preprocessors: {
      'dist/ionic-angular/umd/**/!(*spec).js': ['coverage'],
      'dist/ionic-angular/**/*.js': ['sourcemap']
    },
    reporters: ['dots', 'coverage'],
    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,
{'fraction_non_alphanumeric': 0.16580066131317903, 'fraction_numerical': 0.0023618327822390174, 'mean_word_length': 3.252008032128514, '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': '6620016', 'n_tokens_mistral': 1323, 'n_tokens_neox': 1288, 'n_words': 329}