<commit_before>var path = require('path');

var OUT_DIR = path.resolve(__dirname, 'reports', 'test');

module.exports = function(config){
    config.set({
        browsers: ['PhantomJS'],
        files: [
            'test-context.js'
        ],
        frameworks: ['jasmine'],
        preprocessors: {
            'test-context.js': ['webpack']
        },
        webpack: {
            module: {
                preLoaders: [
                    {
                        test: /\.js$/,
                        loader: 'babel',
                        exclude: /node_modules/
                    }
                ]
            },
            watch: true
        },
        webpackServer: {
            noInfo: true
        },
        reporters: ['mocha', 'html', 'coverage'],
        htmlReporter:{
            outputDir: OUT_DIR + '/html/'
        },
        coverageReporter:{
            reporters:[
                {
                    type:'text-summary'<commit_msg>[es6-testing] Add isparta<commit_after>var path = require('path');

var OUT_DIR = path.resolve(__dirname, 'reports', 'test');

module.exports = function(config){
    config.set({
        browsers: ['PhantomJS'],
        files: [
            'test-context.js'
        ],
        frameworks: ['jasmine'],
        preprocessors: {
            'test-context.js': ['webpack']
        },
        webpack: {
            module: {
                preLoaders: [
                    {
                        test: /\.spec\.js$/,
                        loader: 'babel',
                        exclude: /node_modules/
                    },
                    {
                        test: /\.js$/,
                        loader: 'isparta',
                        exclude: /test-context\.js|node_modules|\.spec\.js$/
                    }
                ]
            },
            watch: true
        },
        webpackServer: {
            noInfo: true
        },
        reporters: ['mocha', 'html', 'coverage'],
        htmlReporter:{
            outputDir: OUT_DIR + '/html/'
        },
        coverageReporter:{
            reporters:[
                {
                    type:'text-summary'
{'fraction_non_alphanumeric': 0.1297148114075437, 'fraction_numerical': 0.00045998160073597056, 'mean_word_length': 1.000919963201472, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7525186', 'n_tokens_mistral': 586, 'n_tokens_neox': 546, 'n_words': 97}