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

    config.set({
        basePath: '',
        client: {
            mocha: {
                timeout: 8000
            }
        },
        frameworks: ['mocha', 'browserify', 'chai', 'sinon'],
        preprocessors: {
            'js/tests/**/*.spec.js': ['browserify']
        },
        browserify: {
            transform: [require('hbsfy'), require('rehab-fe-skeleton-testsuite/node_modules/browserify-istanbul')],
            watch: false
        },
        files: [
            'js/tests/**/*.spec.js'
        ],
        exclude: [],
        junitReporter: {
            outputFile: 'fe-test-results.xml'
        },
        coverageReporter: {
            dir: './',
            reporters: [
                { type: 'cobertura', subdir: '.', file: 'fe-coverage-results.xml' },
                { type: 'text' }
            ]
        },
        reporters: ['progress', 'junit', 'coverage'],
        port: 9876,
        colors: true,
        autoWatch: false,
        browsers: ['PhantomJS'],
        singleRun: true,
        logLevel: config.LOG_INFO<commit_msg>Removing JUnit settings and adding coverage options.<commit_after>module.exports = function(config) {
    'use strict';

    config.set({
        basePath: '',
        client: {
            mocha: {
                timeout: 8000
            }
        },
        frameworks: ['mocha', 'browserify', 'chai', 'sinon'],
        preprocessors: {
            'js/tests/**/*.spec.js': ['browserify']
        },
        browserify: {
            transform: [
                require('hbsfy'),
                [
                    require('rehab-fe-skeleton-testsuite/node_modules/browserify-istanbul'),
                    {
                        ignore: ['**/node_modules/**', '**/bower_components/**', '**/*.spec.js'],
                        defaultIgnore: false
                    }
                ]
            ],
            watch: false
        },
        files: [
            'js/tests/**/*.spec.js'
        ],
        exclude: [],
        coverageReporter: {
            dir: './',
            reporters: [
                { type: 'cobertura', subdir: '.', file: 'fe-coverage-results.xml' },
                { type: 'text' }
            ]
        },
        reporters: ['progress', 'coverage'],
        port: 9876,
        colors: true,
        autoWatch: false,
        browsers: ['PhantomJS'],
        singleRun: true,
        logLevel: config.LOG_INFO
{'fraction_non_alphanumeric': 0.15052041633306645, 'fraction_numerical': 0.006405124099279423, 'mean_word_length': 1.3096118299445472, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, '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': '7097550', 'n_tokens_mistral': 720, 'n_tokens_neox': 694, 'n_words': 119}