<commit_before>'use strict';

module.exports = function(config) {

    var configuration = {
        autoWatch : false,

        frameworks: ['jasmine'],

        ngHtml2JsPreprocessor: {
            stripPrefix: 'src/',
            moduleName: 'gulpAngular'
        },

        browsers : ['PhantomJS'],

        plugins : [
          'karma-phantomjs-launcher',
          'karma-jasmine',
          'karma-ng-html2js-preprocessor'
        ],

        preprocessors: {
            'src/**/*.html': ['ng-html2js']
        }
    };

    // This block is needed to execute Chrome on Travis
    // If you ever plan to use Chrome and Travis, you can keep it
    // If not, you can safely remove it
    // https://github.com/karma-runner/karma/issues/1144#issuecomment-53633076
    if (configuration.browsers[0] === 'Chrome' && process.env.TRAVIS) {
        configuration.customLaunchers = {
            'chrome-travis-ci': {
                base: 'Chrome',
                flags: ['--no-sandbox']
            }
        };
        configuration.browsers = ['chrome-travis-ci'];
    }

    config.set(configuration);
};<commit_msg>remove travis-specific stuff from karma for now<commit_after>'use strict';

module.exports = function(config) {

    var configuration = {
        autoWatch : false,

        frameworks: ['jasmine'],

        ngHtml2JsPreprocessor: {
            stripPrefix: 'src/',
            moduleName: 'gulpAngular'
        },

        browsers : ['PhantomJS'],

        plugins : [
          'karma-phantomjs-launcher',
          'karma-jasmine',
          'karma-ng-html2js-preprocessor'
        ],

        preprocessors: {
            'src/**/*.html': ['ng-html2js']
        }
    };

    config.set(configuration);
};
{'fraction_non_alphanumeric': 0.13536866359447006, 'fraction_numerical': 0.010944700460829493, 'mean_word_length': 1.8106796116504855, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2073784', 'n_tokens_mistral': 547, 'n_tokens_neox': 514, 'n_words': 98}