<commit_before>// Karma configuration
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
        frameworks: ['browserify', 'mocha', 'chai'],


        //list of files / patterns to load in the browser
        files: [
            { pattern: 'src/js/components/**/*.test.js' },
            { pattern: 'test/views/**/*.test.js' }
        ],

        // preprocess matching files before serving them to the browser
        // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
        preprocessors: {
            '**/*.test.js': ['browserify']
        },

        browserify: {
            bundleDelay: 1000,
            configure: function(bundle) {
                bundle.once('prebundle', function() {
                    bundle.plugin('proxyquireify/plugin');
                });
            },
            debug: true
        },

        // test results reporter to use
        // possible values: 'dots', 'progress'
        // available reporters: https://npmjs.org/browse/keyword/karma-reporter
        reporters: ['spec'],

        // web server port
        port: 5000,
<commit_msg>fixes #80 : Write UI tests for important views Removing the Views tests from Karma configuration as they are meant to be executed with WebDriverIO instead of Karma<commit_after>// Karma configuration
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
        frameworks: ['browserify', 'mocha', 'chai'],


        //list of files / patterns to load in the browser
        files: [
            { pattern: 'src/js/components/**/*.test.js' },
        ],

        // preprocess matching files before serving them to the browser
        // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
        preprocessors: {
            '**/*.test.js': ['browserify']
        },

        browserify: {
            bundleDelay: 1000,
            configure: function(bundle) {
                bundle.once('prebundle', function() {
                    bundle.plugin('proxyquireify/plugin');
                });
            },
            debug: true
        },

        // test results reporter to use
        // possible values: 'dots', 'progress'
        // available reporters: https://npmjs.org/browse/keyword/karma-reporter
        reporters: ['spec'],

        // web server port
        port: 5000,

{'fraction_non_alphanumeric': 0.12603231597845602, 'fraction_numerical': 0.006463195691202872, 'mean_word_length': 1.794383149448345, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '6412814', 'n_tokens_mistral': 762, 'n_tokens_neox': 699, 'n_words': 202}