<commit_before>/*
 * ngAuthToken
 * (c) 2014 kukulili labs - <NAME> <<EMAIL>>
 * License: MIT
 */

// Karma configuration
// http://karma-runner.github.io/0.10/config/configuration-file.html

module.exports = function(config) {
  'use strict';

  var bower = 'test/lib/bower_components/';

  config.set({

    // enable / disable watching file and executing tests whenever any file changes
    autoWatch: true,

    // base path, that will be used to resolve files and exclude
    basePath: '../',

    // Start these browsers, currently available:
    // - Chrome
    // - ChromeCanary
    // - Firefox
    // - Opera
    // - Safari (only Mac)
    // - PhantomJS
    // - IE (only Windows)
    browsers: ['PhantomJS'],

    // list of files / patterns to load in the browser
    files: [
        bower + 'angular/angular.js',
        bower + 'angular-mocks/angular-mocks.js',
      'ngAuthToken.js',
      'test/spec/**/*.js'
    ],


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

    preprocessors: {
      'ngAuthToken.js': ['coverage']
    },

    coverageReporter: {
      type: 'lcov',
      dir: 'coverage/'
    },

    // testing framework to use (jasmine/mocha/qunit/...)
    frameworks: ['jasmine'],

    // level of logging
    // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
    logLevel: config.LOG_INFO,<commit_msg>Fix karma setup for codeclimate<commit_after>/*
 * ngAuthToken
 * (c) 2014 kukulili labs - <NAME> <<EMAIL>>
 * License: MIT
 */

// Karma configuration
// http://karma-runner.github.io/0.10/config/configuration-file.html

module.exports = function(config) {
  'use strict';

  var bower = 'test/lib/bower_components/';

  config.set({

    // enable / disable watching file and executing tests whenever any file changes
    autoWatch: true,

    // base path, that will be used to resolve files and exclude
    basePath: '../',

    // Start these browsers, currently available:
    // - Chrome
    // - ChromeCanary
    // - Firefox
    // - Opera
    // - Safari (only Mac)
    // - PhantomJS
    // - IE (only Windows)
    browsers: ['PhantomJS'],

    // list of files / patterns to load in the browser
    files: [
        bower + 'angular/angular.js',
        bower + 'angular-mocks/angular-mocks.js',
      'ngAuthToken.js',
      'test/spec/**/*.js'
    ],


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

    preprocessors: {
      'ngAuthToken.js': ['coverage']
    },

    coverageReporter: {
      type: 'lcov',
      dir: 'coverage/',
      subdir: '.'
    },

    // testing framework to use (jasmine/mocha/qunit/...)
    frameworks: ['jasmine'],

    // level of logging
    // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
    logLevel: config.LOG_INFO,
{'fraction_non_alphanumeric': 0.14907508161044614, 'fraction_numerical': 0.005077983315197679, 'mean_word_length': 2.2911694510739857, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5352030', 'n_tokens_mistral': 912, 'n_tokens_neox': 865, 'n_words': 224}