<commit_before>const webpackConfig = require('./webpack.config.js');
delete webpackConfig.entry;

module.exports = function (config) {
  config.set({

    // base path that will be used to resolve all patterns (eg. files, exclude)
    basePath: '',


    // frameworks to use
    // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
    // NOTE (CCB): We only use jasmine-jquery to load fixtures.
    frameworks: ['jasmine-jquery', 'jasmine',],


    // list of files / patterns to load in the browser
    files: [
      'credentials/static/js/test/spec-runner.js',
      'credentials/static/js/**/*.js',
      'credentials/static/components/**/*.js',
      {pattern: 'credentials/static/js/test/fixtures/**/*.html', included: false, served: true, watched: true},

    ],

    // list of files to exclude
    exclude: [],

    // preprocess matching files before serving them to the browser
    // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
    preprocessors: {
      'credentials/static/js/**/(!StringUtils).js': ['coverage'], // Exclude StringUtils as ES6 not support by Karma Cov
      'credentials/static/components/**/*.js': ['webpack'],
      'credentials/static/js/StringUtils.js': ['webpack'], // Explicitly include webpack for StringUtils for Karma
    },

    // enabled plugins
    plugins: [
      'karma-jasmine-jquery-2',
      'karma-jasmine',
      'karma-firefox-launcher',
      'karma-coverage',
      'karma-spec-reporter',
      'karma-webpack',<commit_msg>MICROBA-639 Remove file path with no entries (#878)<commit_after>const webpackConfig = require('./webpack.config.js');
delete webpackConfig.entry;

module.exports = function (config) {
  config.set({

    // base path that will be used to resolve all patterns (eg. files, exclude)
    basePath: '',


    // frameworks to use
    // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
    // NOTE (CCB): We only use jasmine-jquery to load fixtures.
    frameworks: ['jasmine-jquery', 'jasmine',],


    // list of files / patterns to load in the browser
    files: [
      'credentials/static/js/test/spec-runner.js',
      'credentials/static/js/**/*.js',
      {pattern: 'credentials/static/js/test/fixtures/**/*.html', included: false, served: true, watched: true},

    ],

    // list of files to exclude
    exclude: [],

    // preprocess matching files before serving them to the browser
    // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
    preprocessors: {
      'credentials/static/js/**/(!StringUtils).js': ['coverage'], // Exclude StringUtils as ES6 not support by Karma Cov
      'credentials/static/components/**/*.js': ['webpack'],
      'credentials/static/js/StringUtils.js': ['webpack'], // Explicitly include webpack for StringUtils for Karma
    },

    // enabled plugins
    plugins: [
      'karma-jasmine-jquery-2',
      'karma-jasmine',
      'karma-firefox-launcher',
      'karma-coverage',
      'karma-spec-reporter',
      'karma-webpack',
{'fraction_non_alphanumeric': 0.14772355060596135, 'fraction_numerical': 0.003275466754012447, 'mean_word_length': 2.9713914174252274, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '5765568', 'n_tokens_mistral': 954, 'n_tokens_neox': 898, 'n_words': 229}